diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-07-17 14:05:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-07-17 14:05:54 (GMT) |
commit | 300514fd254579b69fdac6e9edd6e9415026305e (patch) | |
tree | 9e902c93f9b63551edf6fbcc243638698b5fd9f0 /Source/cmLocalGenerator.cxx | |
parent | 1be805609c8c350fe4a1cdc41a85ac0ff3947410 (diff) | |
download | CMake-300514fd254579b69fdac6e9edd6e9415026305e.zip CMake-300514fd254579b69fdac6e9edd6e9415026305e.tar.gz CMake-300514fd254579b69fdac6e9edd6e9415026305e.tar.bz2 |
ENH: make sure GUIDs for filters are cached
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 67fa280..fcbb566 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -43,8 +43,7 @@ cmLocalGenerator::cmLocalGenerator() { - this->Makefile = new cmMakefile; - this->Makefile->SetLocalGenerator(this); + this->Makefile = 0; // moved to after set on global this->Parent = 0; this->WindowsShell = false; this->WindowsVSIDE = false; @@ -173,6 +172,8 @@ void cmLocalGenerator::SetupPathConversions() void cmLocalGenerator::SetGlobalGenerator(cmGlobalGenerator *gg) { this->GlobalGenerator = gg; + this->Makefile = new cmMakefile; + this->Makefile->SetLocalGenerator(this); // setup the home directories this->Makefile->GetProperties().SetCMakeInstance(gg->GetCMakeInstance()); |