diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-01-20 05:12:27 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-01-20 05:12:27 (GMT) |
commit | 049a4820a23ba3f939246f96458a281ddc8f29a2 (patch) | |
tree | d963cc29b925ef5c83b7f914f36a078fc3112147 /Tests/ComplexOneConfig/CMakeLists.txt | |
parent | df5131adc294301b08783a6bc9738afd2049d197 (diff) | |
download | CMake-049a4820a23ba3f939246f96458a281ddc8f29a2.zip CMake-049a4820a23ba3f939246f96458a281ddc8f29a2.tar.gz CMake-049a4820a23ba3f939246f96458a281ddc8f29a2.tar.bz2 |
More tests + coverage
Diffstat (limited to 'Tests/ComplexOneConfig/CMakeLists.txt')
-rw-r--r-- | Tests/ComplexOneConfig/CMakeLists.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index e83dc9e..8bd6bcd 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -19,7 +19,11 @@ IF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) INCLUDE(${Complex_SOURCE_DIR}/VarTests.cmake) ENDIF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) -LOAD_CACHE(${Complex_SOURCE_DIR}) +LOAD_CACHE(${Complex_SOURCE_DIR} + EXCLUDE + CACHE_TEST_VAR_EXCLUDED + INCLUDE_INTERNALS + CACHE_TEST_VAR_INTERNAL) # # Configure file @@ -31,13 +35,17 @@ CONFIGURE_FILE( # # Specify include and lib dirs +# (BEFORE is for coverage) # INCLUDE_DIRECTORIES( - ${Complex_BINARY_DIR} ${Complex_SOURCE_DIR}/Library ${Complex_SOURCE_DIR}/../../Source ) +INCLUDE_DIRECTORIES(BEFORE + ${Complex_BINARY_DIR} +) + INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$") LINK_DIRECTORIES( @@ -65,6 +73,7 @@ SUBDIR_DEPENDS(Executable Library) # Exec program (TODO: test a result) # Increase coverage. # +MESSAGE("Trying to increase coverage...") OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0) IF (NOT NO_EXEC_PROGRAM) EXEC_PROGRAM("echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}") |