Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-03-27 01:28:13


This gives an error:

lib foo : :
   <os>NT:<source>pita_win32.cpp
   <os>LINUX:<source>fun_with_linux.cpp
   ;

Because of the lack of entries in the sources spec. Which made me resort to:

lib ~foo~NT :
   pita_win32.cpp
   :
   <os>LINUX:<build>no
   ;

lib ~foo~LINUX :
   fun_with_linux.cpp
   :
   <os>NT:<build>no
   ;

alias foo : :
   <os>NT:<library>~foo~NT
   <os>LINUX:<library>~foo~LINUX
   ;

Obviously I would prefer the first one for many reasons :-) Since
overall this is possible with the use of the alias. Why isn't it
possible in the more direct form? Or is it a bug?

--
-- 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