Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-03-21 21:05:46


Arkadiy Vertleyb wrote:
> "Rene Rivera" <grafik.list_at_[hidden]> wrote
>>rule only-gcc ( toolset variant : subvariant-path properties * )
>>{
>> local no-build = <build>no ;
>
>
> Hmmm... Does this mean it's possible to do something like this in jamfile:
>
> ---
> exe my_exe
> :
> main.cpp
> ...
> :
> ...
> <vc-7_1><my_gcc_specific_variant><build>no
> ;
> ---
> ?

Yes. And is the cleaner way of doing it.. Only difference is that one
catches any variation of the toolset (i.e. any toolset that has gcc in
the name). Instead of having to know the exact toolset name. So if you
have control of the toolset in use feel free to use the simpler solution ;-)

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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