List Info

Thread: static link enforcement ofr the toolset




static link enforcement ofr the toolset
country flaguser name
United States
2007-10-18 17:03:56
How can I enforce Boost.Test users  for toolset msvc-6.5 to
use exlusively 
static link?

What should I put in users-requirements?

Gennadiy 



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: static link enforcement ofr the toolset
country flaguser name
Russian Federation
2007-10-19 00:08:25
On Friday 19 October 2007 02:03:56 Gennadiy Rozental wrote:
> How can I enforce Boost.Test users  for toolset
msvc-6.5 to use exlusively 
> static link?
> 
> What should I put in users-requirements?

You cannot do this.

Sorry,
Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: static link enforcement ofr the toolset
country flaguser name
United States
2007-10-19 00:20:08
"Vladimir Prus" <ghostcs.msu.su> wrote in
message 
news:200710190908.26385.ghostcs.msu.su...
> On Friday 19 October 2007 02:03:56 Gennadiy Rozental
wrote:
>> How can I enforce Boost.Test users  for toolset
msvc-6.5 to use 
>> exlusively
>> static link?
>>
>> What should I put in users-requirements?
>
> You cannot do this.

Is this a technical limitation, or it's incorrect
ideologically?

Is there any alternative? Can add something in my
test/Jamfile to enforce it 
for my own unit tests?

Gennadiy



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: static link enforcement ofr the toolset
user name
2007-10-19 00:30:09
Gennadiy Rozental wrote:

> 
> "Vladimir Prus" <ghostcs.msu.su> wrote in message
> news:200710190908.26385.ghostcs.msu.su...
>> On Friday 19 October 2007 02:03:56 Gennadiy
Rozental wrote:
>>> How can I enforce Boost.Test users  for toolset
msvc-6.5 to use
>>> exlusively
>>> static link?
>>>
>>> What should I put in users-requirements?
>>
>> You cannot do this.
> 
> Is this a technical limitation, or it's incorrect
ideologically?

It's a complex behaviour which makes it hard to implement
and hard 
to decide how actually it should work. Say you have a target
that
uses both Boost.Test and libraryX. Boost.Test, when built,
returns <link>static requirements. But at this point,
the
other dependent, libraryX, might already be built with
<link>shared.

> Is there any alternative? Can add something in my
test/Jamfile to enforce
> it for my own unit tests?

Yes, <toolset>msvc-6.5:<link>static

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )