8 Nov
2017
8 Nov
'17
2:33 p.m.
James E. King, III wrote:
On Mon, Nov 6, 2017 at 4:03 PM, Steven Watanabe via Boost
wrote:
The conditional would look like <toolset>gcc,<target-os>windows:...
That allows me to make a conditional <cxxflags> or <link> or whatnot, by appending it to the end.
How do I apply this to control whether a bjam directive (like [ run ... ]) is executed on a given platform?
You can use `<build>no` to disable something.
I would also like to use this technique to prevent a short benchmark from building and running in the debug variant.
In this case, for instance, `<variant>debug:<build>no`. (This is how `[ requires cxx11_constexpr ]` (for example) works; it returns either `<build>no` or nothing.)