From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-22 07:51:26
> If I have a bunch of "#ifdef _PROTECT" blocks in my code, what is the
> best way to define it or undefine it from the command-line using
> boost.build v2?
> I'd like to make the setting apply to all the projects and all the
> toolsets by simply using the command-line.
The above only works for "directly requested" targets, which are the targets
in the current project and all the projected referred by "build-project".
They do no apply to projects used via target references in sources, eg. in
exe a : a.cpp /some/other//lib ;
the other lib won't be built with _PROTECt.
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