diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-23 17:57:45 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-23 17:57:45 (GMT) |
commit | 3a3b55679b1c28ac4d7c24c2de2ce28d88a3d21c (patch) | |
tree | 7bb6b35243fdc96afa879e06c1f4557ee22318b9 /Tests/Complex/VarTests.txt | |
parent | bd4c5cf3625bc4d23f2f5c20fee7fa0bb34aed4b (diff) | |
download | CMake-3a3b55679b1c28ac4d7c24c2de2ce28d88a3d21c.zip CMake-3a3b55679b1c28ac4d7c24c2de2ce28d88a3d21c.tar.gz CMake-3a3b55679b1c28ac4d7c24c2de2ce28d88a3d21c.tar.bz2 |
ENH: try to get better test coverage
Diffstat (limited to 'Tests/Complex/VarTests.txt')
-rw-r--r-- | Tests/Complex/VarTests.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Complex/VarTests.txt b/Tests/Complex/VarTests.txt new file mode 100644 index 0000000..0ff9953 --- /dev/null +++ b/Tests/Complex/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") |