Add generator expressions that combine and use boolean test results: $<0:...> = empty string (ignores "...") $<1:...> = content of "..." $<AND:?[,?]...> = '1' if all '?' are '1', else '0' $<OR:?[,?]...> = '0' if all '?' are '0', else '1' $<NOT:?> = '0' if '?' is '1', else '1' These will be useful to evaluate (future) boolean query expressions and condition content on the results. Include tests and documentation.
27 lines
681 B
Plaintext
27 lines
681 B
Plaintext
CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT:>
|
|
|
|
NOT requires exactly one '0' or '1' value.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
+
|
|
CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT:,>
|
|
|
|
NOT requires exactly one '0' or '1' value.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
+
|
|
CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT:0,1>
|
|
|
|
NOT requires exactly one '0' or '1' value.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)$
|