mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
b70bac647d
These capabilities complement MR !3190 and is also needed to solve issue #18771.
8 lines
133 B
CMake
8 lines
133 B
CMake
|
|
add_custom_target(empty)
|
|
|
|
file(GENERATE
|
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test.txt"
|
|
CONTENT "[$<TARGET_FILE_PREFIX:empty>]"
|
|
)
|