summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 2546458..65ea7e7 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -99,9 +99,7 @@ void cmLocalGenerator::Configure()
cmSystemTools::MakeDirectory(filesDir.c_str());
// find & read the list file
- std::string currentStart = this->Makefile->GetStartDirectory();
- currentStart += "/CMakeLists.txt";
- this->Makefile->ReadListFile(currentStart.c_str());
+ this->ReadInputFile();
// at the end of the ReadListFile handle any old style subdirs
// first get all the subdirectories
@@ -166,6 +164,14 @@ void cmLocalGenerator::ComputeObjectMaxPath()
this->ObjectMaxPathViolations.clear();
}
+//----------------------------------------------------------------------------
+void cmLocalGenerator::ReadInputFile()
+{
+ std::string currentStart = this->Makefile->GetStartDirectory();
+ currentStart += "/CMakeLists.txt";
+ this->Makefile->ReadListFile(currentStart.c_str());
+}
+
void cmLocalGenerator::SetupPathConversions()
{
// Setup the current output directory components for use by