diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-28 07:50:52 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-28 07:50:52 +0200 |
commit | a48aebcb67a66bd2fee1318bb971cc5e3b016410 (patch) | |
tree | a93f900fdbcfcccfa80c7c6cd14ac29bbfca03bb /Source/cmLocalXCodeGenerator.cxx | |
parent | e4c78b37cec74c505e8a4951276c17f7e64e5f67 (diff) | |
download | cmake-a48aebcb67a66bd2fee1318bb971cc5e3b016410.tar.gz |
cmLocalGenerator: Require a parent in the constructor.
Pass the parent though cmGlobalGenerator::CreateLocalGenerator.
This will make it easy to initialize state scopes independent of
cmMakefile.
Diffstat (limited to 'Source/cmLocalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmLocalXCodeGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalXCodeGenerator.cxx b/Source/cmLocalXCodeGenerator.cxx index 8ff6c87d68..1d3a8cfac9 100644 --- a/Source/cmLocalXCodeGenerator.cxx +++ b/Source/cmLocalXCodeGenerator.cxx @@ -15,7 +15,8 @@ #include "cmMakefile.h" //---------------------------------------------------------------------------- -cmLocalXCodeGenerator::cmLocalXCodeGenerator() +cmLocalXCodeGenerator::cmLocalXCodeGenerator(cmLocalGenerator* parent) + : cmLocalGenerator(parent) { // the global generator does this, so do not // put these flags into the language flags |