summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig
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/ComplexOneConfig
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/ComplexOneConfig')
-rw-r--r--Tests/ComplexOneConfig/CMakeLists.txt3
-rw-r--r--Tests/ComplexOneConfig/Library/SystemDir/testSystemDir.h (renamed from Tests/ComplexOneConfig/Library/testSystemDir.h)0
2 files changed, 2 insertions, 1 deletions
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt
index 90f4820..fa3ee41 100644
--- a/Tests/ComplexOneConfig/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/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/ComplexOneConfig/Library/testSystemDir.h b/Tests/ComplexOneConfig/Library/SystemDir/testSystemDir.h
index 73be353..73be353 100644
--- a/Tests/ComplexOneConfig/Library/testSystemDir.h
+++ b/Tests/ComplexOneConfig/Library/SystemDir/testSystemDir.h