From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-04-01 12:39:12
Roland Schwarz wrote:
> I am still trying to figure out a way to compile toolset/platform
> specific sources with Boost.Build v1.
> Can anyone tell me if / how this is possible?
You can only change the sources at target declaration time. Which means
that the only kind of choices you can make are not based toolset, but
could be based on the running platform. For example:
dll boost_whatever :
[ cond $(NT) : source_w32.cpp : source_nix.cpp ]
[ unless $(UNIX) : extra_w32.cpp ]
For more complicated test you would write your own rule.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
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