I have the following simple CMake code:
cmake_minimum_required(VERSION 3.1)
project(PrintGenerators)
set(TEST_OR_GENERATOR "$<$<OR:0,0,1>:YAY!>")
message(STATUS ${TEST_OR_GENERATOR}) # Print out the result of the build
I expect this code to print out YAY!
, but it does not. I instead get $<$<OR:0,0,1>:YAY!>
as the output. How do I print the result of the evaluated generator expression during configuration?