summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-30 17:42:40 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-30 17:42:40 (GMT)
commit1381aab4b7c3f6149d87a673e2bd754e7eed4ac5 (patch)
tree7a2b80dd23612af1b9645de3690bd0d1cbe089ca /Source/cmake.h
parent10c91ded4feda7eb027bc601f2047154cdcba776 (diff)
downloadCMake-1381aab4b7c3f6149d87a673e2bd754e7eed4ac5.zip
CMake-1381aab4b7c3f6149d87a673e2bd754e7eed4ac5.tar.gz
CMake-1381aab4b7c3f6149d87a673e2bd754e7eed4ac5.tar.bz2
BUG: Remove check for files written by file(WRITE) being loaded.
- CMake 1.8 and below did not do the check but could get in infinite loops due to the local generate step. - CMake 2.0 added the check but failed to perform it in directories with no targets (see bug #678). - CMake 2.2 removed the local generate which fixed the problem but did not remove the check. - Between CMake 2.4 and 2.6.0rc6 the check was fixed to work even when no targets appear in a directory (see bug #6923). - Bottom line: the check is no longer needed.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index c1e9a72..8dd5ad1 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -294,11 +294,6 @@ class cmake
bool GetDebugTryCompile(){return this->DebugTryCompile;}
void DebugTryCompileOn(){this->DebugTryCompile = true;}
- ///! Get the list of files written by CMake using FILE(WRITE / WRITE_FILE
- void AddWrittenFile(const char* file);
- bool HasWrittenFile(const char* file);
- void CleanupWrittenFiles();
-
/**
* Generate CMAKE_ROOT and CMAKE_COMMAND cache entries
*/
@@ -389,7 +384,6 @@ protected:
std::string StartOutputDirectory;
bool SuppressDevWarnings;
bool DoSuppressDevWarnings;
- std::set<cmStdString> WrittenFiles;
///! return true if the same cmake was used to make the cache.
bool CacheVersionMatches();