|
Boost-Build : |
From: pal.tw (b84037_at_[hidden])
Date: 2003-11-03 21:57:49
>
> You can specify usage requirements on "bzlib", like this:
>
> alias bzlib : bzlib/$(SOURCE_FILES) : : :
<link>shared:<define>BZ_EXPORT ;
>
> This feature was added quite recently, and will appear in M9.
>
Thanks, but usage requirements seem to apply all source targets,
not just this group of source files..
Ex.
--------------------------------------------------------------
alias libjasper : $(SOURCE_FILES)
<define>EXCLUDE_MIF_SUPPORT <define>EXCLUDE_PNM_SUPPORT
<define>EXCLUDE_BMP_SUPPORT <define>EXCLUDE_RAS_SUPPORT
<define>EXCLUDE_JPG_SUPPORT <define>EXCLUDE_PGX_SUPPORT
: : <include>$(SOURCE_ROOT)/jp2/src/libjasper/include
;
--------------------------------------------------------------
The symbols is just for 'libjasper' group.
Although it might be fine for others. But I think
it would be dangerous to exceed the limit of command line.
So my original question should be how to apply a property-set
to a subset of source targets.
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