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.
10 lines
367 B
10 lines
367 B
2 years ago
|
enable_language(CXX)
|
||
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
|
||
|
"int main(int, char **) { return 0; }\n")
|
||
|
|
||
|
add_executable(main "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
|
||
|
include_directories("$<TARGET_PROPERTY:NonExistent,INCLUDE_DIRECTORIES>")
|
||
|
|
||
|
# Suppress generator-specific targets that might pollute the stderr.
|
||
|
set(CMAKE_SUPPRESS_REGENERATION TRUE)
|