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.
13 lines
343 B
13 lines
343 B
6 months ago
|
add_custom_target(custom)
|
||
|
target_sources(custom PRIVATE
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/GeneratedMain.txt"
|
||
|
)
|
||
|
|
||
|
set_source_files_properties(
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/GeneratedMain.txt"
|
||
|
PROPERTIES GENERATED "1")
|
||
|
get_source_file_property(prop
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/GeneratedMain.txt"
|
||
|
GENERATED)
|
||
|
message(NOTICE "prop: `${prop}`")
|