On 16/10/2017 14:02, Peter Dimov via Boost wrote:
Ion Gaztañaga wrote:
I think it would be nice if there was a way (maybe it exists now) to state in the test/build jamfile the minimum supported toolchains (say msvc >= 9.0, gcc >= 4.2) by that library / test.
There is! There are, three of them. [...]
Thanks Peter, very interesting and illustrative.
Three, you can just use a built-in Boost.Build feature:
project : requirements <toolset>msvc-7:<build>no <toolset>gcc-4.1:<build>no ;
Toolset name can be defined in user-config.jam so msvc-7 is not a generic solucion, I define in my local regression tests toolsets named like gcc-7.1c++03, gcc-7.1c++14... Maybe an additional feature could be added to filter toolset version with some comparison operator. Just CC'ing Rene in case it's a good idea for future developments. Best, Ion