You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/GenEx-TARGET_FILE/TARGET_FILE_BASE_NAME-non-v...

8 lines
136 B

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