summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.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/cmLocalGenerator.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/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 4f620a9..d927b3b 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -43,6 +43,11 @@ cmLocalGenerator::~cmLocalGenerator()
void cmLocalGenerator::Configure()
{
+ // make sure the CMakeFiles dir is there
+ std::string filesDir = m_Makefile->GetStartOutputDirectory();
+ filesDir += "/CMakeFiles";
+ cmSystemTools::MakeDirectory(filesDir.c_str());
+
// find & read the list file
std::string currentStart = m_Makefile->GetStartDirectory();
currentStart += "/CMakeLists.txt";