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.
cmake/Tests/RunCMake/File_Generate/SourceProperty-CMP0070-NEW....

9 lines
213 B

enable_language(C)
add_library(foo empty.c)
cmake_policy(SET CMP0070 NEW)
file(GENERATE OUTPUT relative-output-NEW.c CONTENT "")
target_sources(foo PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/relative-output-NEW.c"
)