summaryrefslogtreecommitdiffstats
path: root/Tests/Complex
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-05 16:04:30 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-05 16:04:30 (GMT)
commit97e07dc162a57c22d9dd0f4b89f192c2084f7ce7 (patch)
tree35ab5721077f9ce497d86ba9e5596758282dfe95 /Tests/Complex
parent934c804ea44236baa59369cd28b018430d1b5b1d (diff)
downloadCMake-97e07dc162a57c22d9dd0f4b89f192c2084f7ce7.zip
CMake-97e07dc162a57c22d9dd0f4b89f192c2084f7ce7.tar.gz
CMake-97e07dc162a57c22d9dd0f4b89f192c2084f7ce7.tar.bz2
BUG: Test -isystem without affecting other tests. Made separate Library/SystemDir for this purpose.
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/CMakeLists.txt3
-rw-r--r--Tests/Complex/Library/SystemDir/testSystemDir.h (renamed from Tests/Complex/Library/testSystemDir.h)0
2 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt
index 90f4820..fa3ee41 100644
--- a/Tests/Complex/CMakeLists.txt
+++ b/Tests/Complex/CMakeLists.txt
@@ -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")
diff --git a/Tests/Complex/Library/testSystemDir.h b/Tests/Complex/Library/SystemDir/testSystemDir.h
index 73be353..73be353 100644
--- a/Tests/Complex/Library/testSystemDir.h
+++ b/Tests/Complex/Library/SystemDir/testSystemDir.h