Boost logo

Boost-Build :

Subject: Re: [Boost-build] boost build quirks and question
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-19 17:34:34


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 ;

> 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


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