summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio14Generator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-28 05:50:52 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-28 05:50:52 (GMT)
commita48aebcb67a66bd2fee1318bb971cc5e3b016410 (patch)
treea93f900fdbcfcccfa80c7c6cd14ac29bbfca03bb /Source/cmGlobalVisualStudio14Generator.h
parente4c78b37cec74c505e8a4951276c17f7e64e5f67 (diff)
downloadCMake-a48aebcb67a66bd2fee1318bb971cc5e3b016410.zip
CMake-a48aebcb67a66bd2fee1318bb971cc5e3b016410.tar.gz
CMake-a48aebcb67a66bd2fee1318bb971cc5e3b016410.tar.bz2
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/cmGlobalVisualStudio14Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio14Generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio14Generator.h b/Source/cmGlobalVisualStudio14Generator.h
index ad1a460..59f1e60 100644
--- a/Source/cmGlobalVisualStudio14Generator.h
+++ b/Source/cmGlobalVisualStudio14Generator.h
@@ -29,7 +29,7 @@ public:
virtual void WriteSLNHeader(std::ostream& fout);
///! create the correct local generator
- virtual cmLocalGenerator *CreateLocalGenerator();
+ virtual cmLocalGenerator *CreateLocalGenerator(cmLocalGenerator* parent = 0);
virtual const char* GetToolsVersion() { return "14.0"; }
protected: