mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
ENH: Added partial test for include regular expressions.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
#if 0
|
||||
#include "cmMissingHeader.h"
|
||||
#endif
|
||||
|
||||
int main(int , char**)
|
||||
{
|
||||
return 0;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
#if 0
|
||||
#include "cmMissingHeader.h"
|
||||
#endif
|
||||
|
||||
int main(int , char**)
|
||||
{
|
||||
return 0;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
#if 0
|
||||
#include "cmMissingHeader.h"
|
||||
#endif
|
||||
|
||||
int main(int , char**)
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user