|
Boost : |
Subject: [boost] [predef] Using predef-require with OR conditions
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-05-03 17:55:51
In a jamfile I would like to use predef-require in OR situatuations so
that if any particular predef-definition is true my unit testing rule
occurs, else it does not occur:
import ../libs/predef/check/predef : require : predef-require ;
run some_test.cpp : : : BOOST_COMP_SOME_COMPILER >= n.n.n ||
other_predef_definiion ;
The typical use case for this is to have a unit test for particular
version(s) of a compiler or for all other versions of other compilers.
Is this possible ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk