Boost logo

Boost-Build :

From: TEMPLIE Cédric (cedric.templie_at_[hidden])
Date: 2004-12-23 11:32:40


Robert Ramey wrote:
> in my test Jamfile I would like something like:
>
>
> if being built for static library
> run
> <lib>libboost_serialization.lib
> etc.
>
> while if being built for dynamic runtime
> run
> <lib>libboost_serialization.lib
> etc.
> <define>BOOST_DYN=1
>
> It is not at all clear to me how to accomplish this. It looks to me that run
> (and other build commands) build for all the combinations of
> targets/variants specified.
>
> Robert Ramey
>

Hi,

Have you tried

<link>static:<define>BOOST_DYN=1

in the requirements of your build ?

The line mean that if we are linking statically, then define BOOST_DYN=1.

I hope it will help you...

TEMPLIE Cédric

>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

 


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