2012-08-09 11:44:15 +04:00
|
|
|
|
|
|
|
project(add_definitions_command)
|
|
|
|
|
|
|
|
add_definitions(-DCMAKE_IS_FUN -DCMAKE_IS=Fun -DCMAKE_IS_="Fun" -DCMAKE_IS_REALLY="Very Fun")
|
|
|
|
add_definitions(-DCMAKE_IS_="Fun" -DCMAKE_IS_REALLY="Very Fun" -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)
|