As recently discussed in the “zoo of values” thread, %system == "linux"
can not be used to distinguish Linux targets from non-Linux targets.
How does one construct an enabled_if
such that a (executable)
is only built for a certain target? It seems an external binary has to be called, for example a helper which returns a bool based on the C preprocessor values.
Is there a way to use an generated include
for that, which contains (enabled_if true|false)
?
(executable (include some.inc))
1 post - 1 participant