diff options
author | Brad King <brad.king@kitware.com> | 2019-01-09 15:26:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-11 15:37:39 (GMT) |
commit | 68d316e0cf278021d9fa4553471d29803d09a394 (patch) | |
tree | cce6ec6105cfea6c06882de6822af3d2a0f93f79 /Source/cmGlobalVisualStudio15Generator.h | |
parent | d8ed309d0529d9a7b28da561c3640290a8041b68 (diff) | |
download | CMake-68d316e0cf278021d9fa4553471d29803d09a394.zip CMake-68d316e0cf278021d9fa4553471d29803d09a394.tar.gz CMake-68d316e0cf278021d9fa4553471d29803d09a394.tar.bz2 |
VS: Rename VS 2017 generator sources to be version-independent
Rename `cmGlobalVisualStudio{15 => Versioned}Generator`. Rename
`Factory` to `Factory15` since that part still needs to be
version-specific.
Diffstat (limited to 'Source/cmGlobalVisualStudio15Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio15Generator.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/Source/cmGlobalVisualStudio15Generator.h b/Source/cmGlobalVisualStudio15Generator.h deleted file mode 100644 index da85d23..0000000 --- a/Source/cmGlobalVisualStudio15Generator.h +++ /dev/null @@ -1,60 +0,0 @@ -/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying - file Copyright.txt or https://cmake.org/licensing for details. */ -#ifndef cmGlobalVisualStudio15Generator_h -#define cmGlobalVisualStudio15Generator_h - -#include "cmConfigure.h" // IWYU pragma: keep - -#include <iosfwd> -#include <string> - -#include "cmGlobalVisualStudio14Generator.h" -#include "cmVSSetupHelper.h" - -class cmGlobalGeneratorFactory; -class cmake; - -/** \class cmGlobalVisualStudio15Generator */ -class cmGlobalVisualStudio15Generator : public cmGlobalVisualStudio14Generator -{ -public: - static cmGlobalGeneratorFactory* NewFactory(); - - bool MatchesGeneratorName(const std::string& name) const override; - - bool SetGeneratorInstance(std::string const& i, cmMakefile* mf) override; - - bool GetVSInstance(std::string& dir) const; - - bool IsDefaultToolset(const std::string& version) const override; - std::string GetAuxiliaryToolset() const override; - -protected: - cmGlobalVisualStudio15Generator(cmake* cm, const std::string& name, - std::string const& platformInGeneratorName); - - bool InitializeWindows(cmMakefile* mf) override; - bool SelectWindowsStoreToolset(std::string& toolset) const override; - - // Used to verify that the Desktop toolset for the current generator is - // installed on the machine. - bool IsWindowsDesktopToolsetInstalled() const override; - - // These aren't virtual because we need to check if the selected version - // of the toolset is installed - bool IsWindowsStoreToolsetInstalled() const; - - // Check for a Win 8 SDK known to the registry or VS installer tool. - bool IsWin81SDKInstalled() const; - - std::string GetWindows10SDKMaxVersion() const override; - - std::string FindMSBuildCommand() override; - std::string FindDevEnvCommand() override; - -private: - class Factory; - friend class Factory; - mutable cmVSSetupAPIHelper vsSetupAPIHelper; -}; -#endif |