2012-08-09 11:44:15 +04:00
|
|
|
|
|
|
|
project(target_prop)
|
|
|
|
|
2012-08-22 15:03:56 +04:00
|
|
|
add_executable(target_prop_executable ../compiletest.cpp)
|
2012-08-09 11:44:15 +04:00
|
|
|
|
2012-08-21 13:05:07 +04:00
|
|
|
set_target_properties(target_prop_executable PROPERTIES COMPILE_DEFINITIONS CMAKE_IS_FUN)
|
2012-08-09 11:44:15 +04:00
|
|
|
|
|
|
|
set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_IS_REALLY="Very Fun" CMAKE_IS=Fun)
|
|
|
|
set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_IS_FUN CMAKE_IS_="Fun")
|