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/cmLocalGenerator.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/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
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"; |