mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 11:09:56 -06:00
10 lines
329 B
CMake
10 lines
329 B
CMake
|
|
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,Invali/dProperty>")
|