|
Boost : |
Subject: Re: [boost] [predef] Announce: Build timeconfigurationforPredefdefs.
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-28 11:55:08
Rene Rivera wrote:
> But to get what you want you just need to convert the logical expression
> to:
>
> [ predef-require "BOOST_COMP_GCC != 4.4" "BOOST_COMP_GCC != 4.5"
> "BOOST_COMP_GCC != 4.6" "BOOST_COMP_MSVC != x.0" "BOOST_COMP_MSVC !=
> y.0" ]
De Morgan to the rescue!
But I'm not sure even he can solve everything. What if I want to disable the
test for all gcc <= 4.6 and for all msvc <= 10.0, which is actually the more
common case?
[ predef-check "BOOST_COMP_GCC <= 4.6" "BOOST_COMP_MSVC <= y.0" : :
<build>no ], I suppose.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk