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
273 B
13 lines
273 B
9 years ago
|
enable_language(C)
|
||
|
|
||
|
add_executable(main ${CMAKE_CURRENT_BINARY_DIR}/main.c)
|
||
|
|
||
|
file(GENERATE OUTPUT check-$<LOWER_CASE:$<CONFIG>>.cmake CONTENT "
|
||
|
set(check_pairs
|
||
|
\"$<TARGET_FILE:main>|${CMAKE_CURRENT_BINARY_DIR}/main.c\"
|
||
|
)
|
||
|
set(check_exes
|
||
|
\"$<TARGET_FILE:main>\"
|
||
|
)
|
||
|
")
|