summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-07-29 13:19:25 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-07-29 13:19:25 (GMT)
commitc6b011e35e63cbb695b7c939c00afba21fc94825 (patch)
tree3207012e89fc196416343da482e7e3cdcba5a63a /Source/cmCacheManager.cxx
parentad46c80f7a65333600610bbbef49d2644c9f7a48 (diff)
downloadCMake-c6b011e35e63cbb695b7c939c00afba21fc94825.zip
CMake-c6b011e35e63cbb695b7c939c00afba21fc94825.tar.gz
CMake-c6b011e35e63cbb695b7c939c00afba21fc94825.tar.bz2
ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 1429ef3..cbd3697 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -557,6 +557,8 @@ bool cmCacheManager::SaveCache(const char* path)
cacheFile.c_str());
cmSystemTools::RemoveFile(tempFile.c_str());
std::string checkCacheFile = path;
+ checkCacheFile += "/CMakeFiles";
+ cmSystemTools::MakeDirectory(checkCacheFile.c_str());
checkCacheFile += "/cmake.check_cache";
std::ofstream checkCache(checkCacheFile.c_str());
if(!checkCache)