On Sun, May 3, 2015 at 4:55 PM, Edward Diener
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 ?
It is possible, and it came up when I first introduced the feature, with some basic De Morgan's application: run some_test.cpp : : : [ predef-require "BOOST_COMP_SOME_COMPILER < n.n.n" "other_predef_def_negated" ] ; HTH -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail