diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-03-22 20:01:22 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-03-22 20:01:22 (GMT) |
commit | eb773486f35791edbbb2305023fb81bb7c206e85 (patch) | |
tree | 50ddaff3579bcf6670ece83b148cc1648a01116c /Tests/ComplexOneConfig/VarTests.cmake | |
parent | a2d8447fb942fb67211bd91efb510592bc26bab7 (diff) | |
download | CMake-eb773486f35791edbbb2305023fb81bb7c206e85.zip CMake-eb773486f35791edbbb2305023fb81bb7c206e85.tar.gz CMake-eb773486f35791edbbb2305023fb81bb7c206e85.tar.bz2 |
ENH: added testing for new features
Diffstat (limited to 'Tests/ComplexOneConfig/VarTests.cmake')
-rw-r--r-- | Tests/ComplexOneConfig/VarTests.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/VarTests.cmake b/Tests/ComplexOneConfig/VarTests.cmake index 477fab9..c146d1b 100644 --- a/Tests/ComplexOneConfig/VarTests.cmake +++ b/Tests/ComplexOneConfig/VarTests.cmake @@ -95,6 +95,14 @@ ELSE(EXISTS ${Complex_SOURCE_DIR}/roquefort.txt) ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_EXISTS2) ENDIF (EXISTS ${Complex_SOURCE_DIR}/roquefort.txt) +IF (IS_DIRECTORY ${Complex_SOURCE_DIR}) + ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_IS_DIRECTORY) +ENDIF (IS_DIRECTORY ${Complex_SOURCE_DIR}) + +IF (NOT IS_DIRECTORY ${Complex_SOURCE_DIR}/VarTests.cmake) + ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_IS_DIRECTORY2) +ENDIF (NOT IS_DIRECTORY ${Complex_SOURCE_DIR}/VarTests.cmake) + SET (SNUM1_VAR "1") SET (SNUM2_VAR "2") SET (SNUM3_VAR "1") |