https://github.com/Kitware/CMake
Raw File
Tip revision: 12a139f2b6610e688be3d2bd317d46f0ce6ddf1f authored by Brad King on 03 March 2021, 16:43:22 UTC
CMake 3.20.0-rc3
Tip revision: 12a139f
BadNonTarget.cmake

file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
           "int main(int, char **) { return 0; }\n")

add_executable(TargetPropertyGeneratorExpressions
           "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
include_directories("$<TARGET_PROPERTY:NonExistent,INCLUDE_DIRECTORIES>")
back to top