summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/VarTests.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ComplexOneConfig/VarTests.txt')
-rw-r--r--Tests/ComplexOneConfig/VarTests.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/VarTests.txt b/Tests/ComplexOneConfig/VarTests.txt
new file mode 100644
index 0000000..0ff9953
--- /dev/null
+++ b/Tests/ComplexOneConfig/VarTests.txt
@@ -0,0 +1,11 @@
+
+SET (ZERO_VAR 0)
+IF(ZERO_VAR)
+ADD_DEFINITIONS(-DSHOULD_NOT_BE_DEFINED)
+ELSE(ZERO_VAR)
+ADD_DEFINITIONS(-DSHOULD_BE_DEFINED)
+ENDIF(ZERO_VAR)
+
+SET(ONE_VAR 1)
+
+SET(STRING_VAR "CMake is great" CACHE STRING "test a cache variable")