summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName7.cmake
blob: 36d1a79033e5fb3080469b82071f4ebe09e194b4 (plain)
1
2
3
4
5
6
7
8
9

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

add_executable(foo "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")

add_executable(TargetPropertyGeneratorExpressions
           "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
include_directories("$<TARGET_PROPERTY:foo,>")