diff options
author | Brad King <brad.king@kitware.com> | 2005-02-07 21:18:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-07 21:18:02 (GMT) |
commit | 16b9edd17b89209b4a71804e252bfd5613d224e5 (patch) | |
tree | 25a49589ce8666fc772a97a6daaa7ba3d6eabca5 /Tests/Complex | |
parent | 1170f1af79b9ad6357bcf1f1c6ba0e289f876702 (diff) | |
download | CMake-16b9edd17b89209b4a71804e252bfd5613d224e5.zip CMake-16b9edd17b89209b4a71804e252bfd5613d224e5.tar.gz CMake-16b9edd17b89209b4a71804e252bfd5613d224e5.tar.bz2 |
ENH: Added partial test for include regular expressions.
Diffstat (limited to 'Tests/Complex')
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/Complex/Executable/complex.file.cxx | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index c8a0ec3..80df627 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -101,7 +101,7 @@ INCLUDE_DIRECTORIES(BEFORE ${Complex_BINARY_DIR} ) -INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^$") +INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^cmMissing") LINK_DIRECTORIES( ${Complex_BINARY_DIR}/Library diff --git a/Tests/Complex/Executable/complex.file.cxx b/Tests/Complex/Executable/complex.file.cxx index 34d02ea..e873fa6 100644 --- a/Tests/Complex/Executable/complex.file.cxx +++ b/Tests/Complex/Executable/complex.file.cxx @@ -1,3 +1,7 @@ +#if 0 +#include "cmMissingHeader.h" +#endif + int main(int , char**) { return 0; |