|
Boost-Build : |
Subject: Re: [Boost-build] boost build quirks and question
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-05-19 18:49:18
Steven Watanabe wrote:
> AMDG
>
> Robert Ramey wrote:
>> Invoking bjam with the following arguments:
>>
>> toolset=msvc-7.1 link=static threading=single
>>
>> results in the following:
>>
>> <snip>
>>
>> I have a couple of observations
>>
>> a) it seems to look for the GCC compiler (listed in user-config.jam)
>> even though I'm using msvc
>>
>
> It's harmless. Just noisy...
>
>> b) it substitute mult-threading for single-threading without
>> telling me.
>
> It's caused by this line in msvc.jam
>
> # Dynamic runtime comes only in MT flavour.
> toolset.add-requirements
> <toolset>msvc,<runtime-link>shared:<threading>multi ;
Hmm - But I'm using:>> toolset=msvc-7.1 link=static threading=single
should I be using runtime-link=static ? or what?
>
>> And a question.
>>
>> I would like to add a "lib" target for a DLL which I want to test
>> with. Ideally it should be placed in some common spot which is
>> unique according to build features (single/threaded, static/shared,
>> etc.) How would I do this?
>
> The location of a target is determined by the build features by
> default, so it
> should just work.
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk