Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-18 15:04:04


Rene,

I'm reviewing your changes now; they look good!
Please also give me a patch for the build system documentation.
I want to know how to use your new features! ;-)

Also, <suppress>true seems like a fine approach, but it should not be
specific to the lib rule; the logic for it should go in
declare-local-targets.

-Dave

----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Sunday, December 16, 2001 10:54 PM
Subject: [jamboost] Patch for inherited "variant" and others...

> 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]
>
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

 


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