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.
11 lines
335 B
11 lines
335 B
|
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
|
|
"int main(int, char **) { return 0; }\n")
|
|
|
|
add_executable(TargetPropertyGeneratorExpressions
|
|
"${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
|
|
set_property(TARGET TargetPropertyGeneratorExpressions
|
|
PROPERTY
|
|
COMPILE_DEFINITIONS "$<TARGET_PROPERTY:COMPILE_DEFINITIONS>"
|
|
)
|