1 2 3 4 5
file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output.txt" INPUT "${CMAKE_CURRENT_SOURCE_DIR}/input.txt" CONDITION $<1:Bad> )