mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
4 lines
134 B
CMake
4 lines
134 B
CMake
cmake_policy(SET CMP0070 NEW)
|
|
add_custom_target(foo)
|
|
file(GENERATE OUTPUT TARGET_EXISTS-generated.txt CONTENT "$<TARGET_EXISTS:foo>")
|