TARGET_FILE_SUFFIX-non-valid-target.cmake 133 Bytes
Newer Older
1 2 3 4 5 6 7

add_custom_target(empty)

file(GENERATE
  OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test.txt"
  CONTENT "[$<TARGET_FILE_SUFFIX:empty>]"
)