Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2001-12-16 22:54:27


I placed a file over on the "Files" section that patches (diff -c) from the
cvs version to implement the various things I mentioned earlier on this list.
Here are the various changes:

1. Changed the "variant" rule to be as such: "variant name [: parents...] :
[<toolset>]<feature>value..." This lets a variant 'inherit' the properties
from other variants. For example I use it as such:

variant thot-common : <threading>multi <rtti>off <sysinclude>$(CVSROOT) ;

variant thot-debug : thot-common debug ;

2. Added the path feature "sysinclude" so that it's value gets collected for
use in the STDHDRS variable. I made the changes for the gcc tools to use this
and to put the paths in STDHDRS in the system search path with "-isystem"
instead of the user search path with "-I".

3. Implemented the ability to suppress the build of targets for libraries
unless they are expressly dependent on by other targets, exe and dll. For this
one it's specified on a per library basis as such:

lib testlib : test_lib.cpp : <define>TEST : <suppress>true ;

exe test : test.cpp <lib>testlib : : debug ;

That way only when the test exe is built is the testlib library also built,
and only the specific variant that the exe relies on.

Dave, I thought and though what a good name for this was and "suppress" is the
only thing that came to mind. If you feal like changing it that's cool with me
:-)

Enjoy.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]

 


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