summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudioGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-10 08:37:40 -0500
committerBrad King <brad.king@kitware.com>2019-01-10 09:38:35 -0500
commit40a732800d52b394d7bd4a81e9aaef04ef5914e6 (patch)
treee4f665370ae5fcfb3767eecad49dbcd4b45aecff /Source/cmGlobalVisualStudioGenerator.h
parent5ca7e5057bcadbcbe6b933b004ba37ddb5199dba (diff)
downloadcmake-40a732800d52b394d7bd4a81e9aaef04ef5914e6.tar.gz
VS: Clarify global generator constructor interface
Make the constructors protected since they should be produced through factories. Also rename `platform{ => InGenerator}Name` to clarify the meaning of the argument.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h
index 0d4491d336..d827616956 100644
--- a/Source/cmGlobalVisualStudioGenerator.h
+++ b/Source/cmGlobalVisualStudioGenerator.h
@@ -41,7 +41,6 @@ public:
VS15 = 150
};
- cmGlobalVisualStudioGenerator(cmake* cm);
virtual ~cmGlobalVisualStudioGenerator();
VSVersion GetVersion() const;
@@ -133,6 +132,8 @@ public:
bool dryRun) override;
protected:
+ cmGlobalVisualStudioGenerator(cmake* cm);
+
void AddExtraIDETargets() override;
// Does this VS version link targets to each other if there are