More IF coverage
This commit is contained in:
parent
6f3570656c
commit
7bda70b836
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue