Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-04 01:25:27


On Thursday 04 August 2005 09:24, emildotchevski wrote:
> This is a question about using different cpp files in a given lib
> depending on the target platform.

Does

lib your_lib : nt/a.cpp : <os>NT ;
lib your_lib : linux/a.cpp : <os>LINUX ;

work for you? Note that you'd need nightly snapshot, or CVS version of V2
for this to work sensibly.

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: 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