Boost logo

Boost :

Subject: [boost] setting <cxxflags> and <linkflags> in Jamfile?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2013-02-12 03:13:58


if the define BOOST_USE_XYZ is given at b2/bjam command-line how can I set
special compiler- and linker-flags in the Jamfile?

something like this:


*project boost/abc
    : requirements
    : source-location ../src
    : usage-requirements
if the lib is build with b2 toolset=gcc cxxflags="-DBOOST_USE_XYZ" then
-fxyz static-libxyz is applied to the compiler otherwise not.
How can I achieve this behaviour?


Boost list run by bdawes at, gregod at, cpdaniel at, john at