Boost logo

Boost-Build :

Subject: [Boost-build] explicit rule does not take conditional requirements
From: John Reid (j.reid_at_[hidden])
Date: 2011-05-10 08:24:54


Some of my tests run slowly in a debug build. I would like to be able to
do something like:

explicit python_test_find_starts : <variant>:debug ;

so that they only run in release builds by default. Presumably I can do
something like:

if <some condition to test build type here> {
     explicit python_test_find_starts ;
}

What can I use for the condition?

Thanks,
John.


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