summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-02 18:21:22 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-07 02:10:28 (GMT)
commit73e4df99cb4d63f5ea8babb40656a74305d77e12 (patch)
treeb7376eb88a3e222549f6cda83cd78aeea7689944 /Source/cmMakefile.cxx
parent193699376af09bd77875d4ddfd10c3feb13ecdd2 (diff)
downloadCMake-73e4df99cb4d63f5ea8babb40656a74305d77e12.zip
CMake-73e4df99cb4d63f5ea8babb40656a74305d77e12.tar.gz
CMake-73e4df99cb4d63f5ea8babb40656a74305d77e12.tar.bz2
cmGlobalGenerator: Store a container of cmMakefiles.
For use at configure-time.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 60a11e1..85bc493 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1857,6 +1857,7 @@ void cmMakefile::AddSubDirectory(const std::string& srcPath,
// create a new local generator and set its parent
cmLocalGenerator *lg2 = this->GetGlobalGenerator()
->MakeLocalGenerator(newSnapshot, this->LocalGenerator);
+ this->GetGlobalGenerator()->AddMakefile(lg2->GetMakefile());
this->GetGlobalGenerator()->AddLocalGenerator(lg2);
cmMakefile* subMf = lg2->GetMakefile();