Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to nest requirements
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-03-19 09:34:55


On Saturday, March 19, 2011 16:22:33 Bo Jensen wrote:
> I guess this is a very easy question, but I have not found a solution :
>
> I have external libraries I will include, but names and paths are
> depend on platform and OS, so I would like to to something like :
>
> <address-model>32:<target-os>linux>:<library>mylibrary1.a
> <address-model>64:<target-os>linux>:<library>mylibrary2.a
>
> What is the correct syntax ?

Quoting http://j.mp/hZC3fm :

        You can use several properties in the condition, for example:

        lib network : network.cpp
            : <toolset>gcc,<optimization>speed:<define>USE_INLINE_ASSEMBLER
            ;

Does that answer your question?

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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