$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Ali Azarbayejani (ali_at_[hidden])
Date: 2003-03-13 17:11:20
Here's a simple question...can I do "Conditional Sources" using the same
syntax as Conditional Properties?
I.e.
lib mylib : foo.cxx bar.cxx <os>NT:ntbase.cxx ;
expressing that the file "ntbase.cxx" is compiled in only on the NT OS?
Or do I have to do something more convoluted like the following?
Sources = foo.cxx bar.cxx ;
if [ os.name ] = NT
{
Sources += ntbase.cxx ;
}
lib mylib : $(Sources) ;
--Ali