summaryrefslogtreecommitdiffstats
path: root/Tests/CompileDefinitions/add_definitions_command/CMakeLists.txt
blob: 23e0134258909d69e25133849933bad940093778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

project(add_definitions_command)

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)
add_definitions(-DBUILD_IS_DEBUG=$<CONFIG:Debug> -DBUILD_IS_NOT_DEBUG=$<NOT:$<CONFIG:Debug>>)

add_executable(add_definitions_command_executable ../compiletest.cpp)