Boost logo

Boost-Build :

From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2020-04-06 20:29:41


The question may be trivial, but I do not know how to solve it.

In Boost.Test there this:

project boost/test
    : source-location ../src
    : requirements // snip
    : usage-requirements

alias included ;

I was trying (for several hours) to create a target that pulls
"included", and that does not have the BOOST_TEST_NO_AUTO_LINK=1.

Adding "<undef>BOOST_TEST_NO_AUTO_LINK" to that target does not work as
the command line then contains "-UBOOST_TEST_NO_AUTO_LINK ...

How can I disable the propagation of BOOST_TEST_NO_AUTO_LINK=1 ?

When I manually removed BOOST_TEST_NO_AUTO_LINK=1, I was still seeing
"-DBOOST_ALL_NO_LIB=1" on the compiler command line. Where does this
come from? Can I disable it as well?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at