ENH: Added partial test for include regular expressions.

This commit is contained in:
Brad King 2005-02-07 16:18:02 -05:00
parent 1170f1af79
commit 16b9edd17b
6 changed files with 15 additions and 3 deletions

View File

@ -101,7 +101,7 @@ INCLUDE_DIRECTORIES(BEFORE
${Complex_BINARY_DIR} ${Complex_BINARY_DIR}
) )
INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^$") INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^cmMissing")
LINK_DIRECTORIES( LINK_DIRECTORIES(
${Complex_BINARY_DIR}/Library ${Complex_BINARY_DIR}/Library

View File

@ -1,3 +1,7 @@
#if 0
#include "cmMissingHeader.h"
#endif
int main(int , char**) int main(int , char**)
{ {
return 0; return 0;

View File

@ -101,7 +101,7 @@ INCLUDE_DIRECTORIES(BEFORE
${Complex_BINARY_DIR} ${Complex_BINARY_DIR}
) )
INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^$") INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^cmMissing")
LINK_DIRECTORIES( LINK_DIRECTORIES(
${Complex_BINARY_DIR}/Library ${Complex_BINARY_DIR}/Library

View File

@ -1,3 +1,7 @@
#if 0
#include "cmMissingHeader.h"
#endif
int main(int , char**) int main(int , char**)
{ {
return 0; return 0;

View File

@ -101,7 +101,7 @@ INCLUDE_DIRECTORIES(BEFORE
${Complex_BINARY_DIR} ${Complex_BINARY_DIR}
) )
INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^$") INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^cmMissing")
LINK_DIRECTORIES( LINK_DIRECTORIES(
${Complex_BINARY_DIR}/Library ${Complex_BINARY_DIR}/Library

View File

@ -1,3 +1,7 @@
#if 0
#include "cmMissingHeader.h"
#endif
int main(int , char**) int main(int , char**)
{ {
return 0; return 0;