BUG: Test -isystem without affecting other tests. Made separate Library/SystemDir for this purpose.

This commit is contained in:
Brad King 2006-10-05 12:04:30 -04:00
parent 934c804ea4
commit 97e07dc162
6 changed files with 6 additions and 3 deletions

View File

@ -91,8 +91,8 @@ ENDIF(${fooCACHE_TEST_VAR2} MATCHES bar)
# Specify include and lib dirs
# (BEFORE is for coverage)
#
INCLUDE_DIRECTORIES(SYSTEM Library)
INCLUDE_DIRECTORIES(
Library
${Complex_SOURCE_DIR}/../../Source
${Complex_BINARY_DIR}/../../Source
)
@ -100,6 +100,7 @@ INCLUDE_DIRECTORIES(
INCLUDE_DIRECTORIES(BEFORE
${Complex_BINARY_DIR}
)
INCLUDE_DIRECTORIES(SYSTEM Library/SystemDir)
INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile|test).*$" "^cmMissing")

View File

@ -91,8 +91,8 @@ ENDIF(${fooCACHE_TEST_VAR2} MATCHES bar)
# Specify include and lib dirs
# (BEFORE is for coverage)
#
INCLUDE_DIRECTORIES(SYSTEM Library)
INCLUDE_DIRECTORIES(
Library
${Complex_SOURCE_DIR}/../../Source
${Complex_BINARY_DIR}/../../Source
)
@ -100,6 +100,7 @@ INCLUDE_DIRECTORIES(
INCLUDE_DIRECTORIES(BEFORE
${Complex_BINARY_DIR}
)
INCLUDE_DIRECTORIES(SYSTEM Library/SystemDir)
INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile|test).*$" "^cmMissing")

View File

@ -91,8 +91,8 @@ ENDIF(${fooCACHE_TEST_VAR2} MATCHES bar)
# Specify include and lib dirs
# (BEFORE is for coverage)
#
INCLUDE_DIRECTORIES(SYSTEM Library)
INCLUDE_DIRECTORIES(
Library
${Complex_SOURCE_DIR}/../../Source
${Complex_BINARY_DIR}/../../Source
)
@ -100,6 +100,7 @@ INCLUDE_DIRECTORIES(
INCLUDE_DIRECTORIES(BEFORE
${Complex_BINARY_DIR}
)
INCLUDE_DIRECTORIES(SYSTEM Library/SystemDir)
INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile|test).*$" "^cmMissing")