diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-07-29 13:19:25 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-07-29 13:19:25 (GMT) |
commit | c6b011e35e63cbb695b7c939c00afba21fc94825 (patch) | |
tree | 3207012e89fc196416343da482e7e3cdcba5a63a /Source/cmCacheManager.cxx | |
parent | ad46c80f7a65333600610bbbef49d2644c9f7a48 (diff) | |
download | CMake-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.cxx | 2 |
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) |