diff options
Diffstat (limited to 'Tests/Complex/VarTests.cmake')
-rw-r--r-- | Tests/Complex/VarTests.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Complex/VarTests.cmake b/Tests/Complex/VarTests.cmake index 800a66e..5c444f5 100644 --- a/Tests/Complex/VarTests.cmake +++ b/Tests/Complex/VarTests.cmake @@ -83,6 +83,18 @@ ELSE(COMMAND "ROQUEFORT") ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_COMMAND2) ENDIF(COMMAND "ROQUEFORT") +IF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) + ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_EXISTS) +ELSE(EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) + ADD_DEFINITIONS(-DSHOULD_NOT_BE_DEFINED_EXISTS) +ENDIF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) + +IF (EXISTS ${Complex_SOURCE_DIR}/roquefort.txt) + ADD_DEFINITIONS(-DSHOULD_NOT_BE_DEFINED_EXISTS2) +ELSE(EXISTS ${Complex_SOURCE_DIR}/roquefort.txt) + ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_EXISTS2) +ENDIF (EXISTS ${Complex_SOURCE_DIR}/roquefort.txt) + # # Test FOREACH # |