Boost logo

Boost-Build :

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. -
-- rrivera/ - grafik/
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at