mirror of
https://github.com/reactos/CMake.git
synced 2025-01-07 11:40:23 +00:00
8b3b88abd8
They must be non-empty, and match a restrictive regexp.
10 lines
313 B
CMake
10 lines
313 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,>")
|