2012-08-09 11:44:15 +04:00
|
|
|
|
|
|
|
project(add_definitions_command)
|
|
|
|
|
2013-05-22 12:25:27 +04:00
|
|
|
add_definitions(-DCMAKE_IS_FUN -DCMAKE_IS=Fun -DCMAKE_IS_="Fun")
|
|
|
|
if (NOT NO_SPACES_IN_DEFINE_VALUES)
|
|
|
|
add_definitions(-DCMAKE_IS_REALLY="Very Fun")
|
|
|
|
endif()
|
|
|
|
add_definitions(-DCMAKE_IS_="Fun")
|
|
|
|
if (NOT NO_SPACES_IN_DEFINE_VALUES)
|
|
|
|
add_definitions(-DCMAKE_IS_REALLY="Very Fun")
|
|
|
|
endif()
|
|
|
|
add_definitions(-DCMAKE_IS_FUN -DCMAKE_IS=Fun)
|
2013-03-25 17:43:22 +04:00
|
|
|
add_definitions(-DBUILD_IS_DEBUG=$<CONFIG:Debug> -DBUILD_IS_NOT_DEBUG=$<NOT:$<CONFIG:Debug>>)
|
2012-08-09 11:44:15 +04:00
|
|
|
|
2012-08-22 15:03:56 +04:00
|
|
|
add_executable(add_definitions_command_executable ../compiletest.cpp)
|