summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio8Generator.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/cmGlobalVisualStudio8Generator.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/cmGlobalVisualStudio8Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h
index cacfa68a9a..8719bf3bbb 100644
--- a/Source/cmGlobalVisualStudio8Generator.h
+++ b/Source/cmGlobalVisualStudio8Generator.h
@@ -13,9 +13,6 @@
class cmGlobalVisualStudio8Generator : public cmGlobalVisualStudio71Generator
{
public:
- cmGlobalVisualStudio8Generator(cmake* cm, const std::string& name,
- const std::string& platformName);
-
///! Get the name for the generator.
std::string GetName() const override { return this->Name; }
@@ -45,6 +42,9 @@ public:
}
protected:
+ cmGlobalVisualStudio8Generator(cmake* cm, const std::string& name,
+ std::string const& platformInGeneratorName);
+
void AddExtraIDETargets() override;
std::string FindDevEnvCommand() override;