cmake/Tests/RunCMake/CMP0163/CMP0163-Common-Test1b.cmake

10 lines
236 B
CMake
Raw Normal View History

2024-07-09 14:46:46 +02:00
add_custom_target(custom)
target_sources(custom PRIVATE
"${CMAKE_CURRENT_BINARY_DIR}/GeneratedMain.txt"
)
get_source_file_property(prop
"${CMAKE_CURRENT_BINARY_DIR}/GeneratedMain.txt"
GENERATED)
message(NOTICE "prop: `${prop}`")