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.
9 lines
205 B
9 lines
205 B
3 years ago
|
enable_language(C)
|
||
|
add_library(foo)
|
||
|
|
||
|
cmake_policy(SET CMP0070 OLD)
|
||
|
file(GENERATE OUTPUT relative-output-OLD.c CONTENT "")
|
||
|
target_sources(foo PRIVATE
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/relative-output-OLD.c"
|
||
|
)
|