Files
CMake/Tests/RunCMake/GeneratorExpressionShortCircuit/GoodOR.cmake
Martin Duffy 27244a8f73 cmGeneratorExpressionNode: Fix short-circuit logic
Fix logic added by commit 634079b86d (cmGeneratorExpressionEvaluator:
Short-circuit boolean operators, 2023-09-11, v3.28.0-rc1~47^2) and
add missing test cases.

Fixes: #25412
2023-11-13 11:11:18 -05:00

7 lines
121 B
CMake

set(error $<0>)
add_custom_target(check ALL COMMAND check
$<OR:1,${error}>
$<OR:0,1,${error}>
$<OR:1,0,${error}>
)