From 416afb7d5ab573c53af9910fbbba53cd75aa4167 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Tue, 22 Jan 2002 15:50:52 -0500 Subject: [PATCH] ENH: Move CMakeCache.txt to Cache/ directory to avoid any in-source build pb. --- Tests/Complex/CMakeLists.txt | 2 +- Tests/Complex/{ => Cache}/CMakeCache.txt | 0 Tests/ComplexOneConfig/CMakeLists.txt | 2 +- Tests/ComplexOneConfig/{ => Cache}/CMakeCache.txt | 0 Tests/ComplexRelativePaths/CMakeLists.txt | 2 +- Tests/ComplexRelativePaths/{ => Cache}/CMakeCache.txt | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename Tests/Complex/{ => Cache}/CMakeCache.txt (100%) rename Tests/ComplexOneConfig/{ => Cache}/CMakeCache.txt (100%) rename Tests/ComplexRelativePaths/{ => Cache}/CMakeCache.txt (100%) diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index fd3a2ba1a..eaaeed95f 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -19,7 +19,7 @@ IF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) INCLUDE(${Complex_SOURCE_DIR}/VarTests.cmake) ENDIF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) -LOAD_CACHE(${Complex_SOURCE_DIR} +LOAD_CACHE(${Complex_SOURCE_DIR}/Cache EXCLUDE CACHE_TEST_VAR_EXCLUDED INCLUDE_INTERNALS diff --git a/Tests/Complex/CMakeCache.txt b/Tests/Complex/Cache/CMakeCache.txt similarity index 100% rename from Tests/Complex/CMakeCache.txt rename to Tests/Complex/Cache/CMakeCache.txt diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index fd3a2ba1a..eaaeed95f 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -19,7 +19,7 @@ IF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) INCLUDE(${Complex_SOURCE_DIR}/VarTests.cmake) ENDIF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) -LOAD_CACHE(${Complex_SOURCE_DIR} +LOAD_CACHE(${Complex_SOURCE_DIR}/Cache EXCLUDE CACHE_TEST_VAR_EXCLUDED INCLUDE_INTERNALS diff --git a/Tests/ComplexOneConfig/CMakeCache.txt b/Tests/ComplexOneConfig/Cache/CMakeCache.txt similarity index 100% rename from Tests/ComplexOneConfig/CMakeCache.txt rename to Tests/ComplexOneConfig/Cache/CMakeCache.txt diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index fd3a2ba1a..eaaeed95f 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -19,7 +19,7 @@ IF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) INCLUDE(${Complex_SOURCE_DIR}/VarTests.cmake) ENDIF (EXISTS ${Complex_SOURCE_DIR}/VarTests.cmake) -LOAD_CACHE(${Complex_SOURCE_DIR} +LOAD_CACHE(${Complex_SOURCE_DIR}/Cache EXCLUDE CACHE_TEST_VAR_EXCLUDED INCLUDE_INTERNALS diff --git a/Tests/ComplexRelativePaths/CMakeCache.txt b/Tests/ComplexRelativePaths/Cache/CMakeCache.txt similarity index 100% rename from Tests/ComplexRelativePaths/CMakeCache.txt rename to Tests/ComplexRelativePaths/Cache/CMakeCache.txt