cmGlobalVisualStudioGenerator::GetIDEVersion(): const added

This commit is contained in:
Vitaly Stakhovsky
2019-01-02 08:25:49 -05:00
parent 88f1e79f3e
commit 77d83568e0
9 changed files with 8 additions and 9 deletions

View File

@@ -140,7 +140,7 @@ protected:
virtual bool SelectWindowsPhoneToolset(std::string& toolset) const;
virtual bool SelectWindowsStoreToolset(std::string& toolset) const;
const char* GetIDEVersion() override { return "10.0"; }
const char* GetIDEVersion() const override { return "10.0"; }
std::string const& GetMSBuildCommand();

View File

@@ -43,7 +43,7 @@ protected:
bool IsWindowsPhoneToolsetInstalled() const;
bool IsWindowsStoreToolsetInstalled() const;
const char* GetIDEVersion() override { return "11.0"; }
const char* GetIDEVersion() const override { return "11.0"; }
bool UseFolderProperty() const override;
static std::set<std::string> GetInstalledWindowsCESDKs();

View File

@@ -48,7 +48,7 @@ protected:
// of the toolset is installed
bool IsWindowsPhoneToolsetInstalled() const;
bool IsWindowsStoreToolsetInstalled() const;
const char* GetIDEVersion() override { return "12.0"; }
const char* GetIDEVersion() const override { return "12.0"; }
private:
class Factory;

View File

@@ -41,7 +41,7 @@ protected:
// version of the toolset.
virtual std::string GetWindows10SDKMaxVersion() const;
const char* GetIDEVersion() override { return "14.0"; }
const char* GetIDEVersion() const override { return "14.0"; }
virtual bool SelectWindows10SDK(cmMakefile* mf, bool required);
// Used to verify that the Desktop toolset for the current generator is

View File

@@ -39,7 +39,7 @@ protected:
bool InitializeWindows(cmMakefile* mf) override;
bool SelectWindowsStoreToolset(std::string& toolset) const override;
const char* GetIDEVersion() override { return "15.0"; }
const char* GetIDEVersion() const override { return "15.0"; }
// Used to verify that the Desktop toolset for the current generator is
// installed on the machine.

View File

@@ -111,7 +111,6 @@ public:
protected:
void Generate() override;
virtual const char* GetIDEVersion() = 0;
std::string const& GetDevEnvCommand();
virtual std::string FindDevEnvCommand();

View File

@@ -49,7 +49,7 @@ public:
protected:
void AddExtraIDETargets() override;
const char* GetIDEVersion() override { return "8.0"; }
const char* GetIDEVersion() const override { return "8.0"; }
std::string FindDevEnvCommand() override;

View File

@@ -37,7 +37,7 @@ public:
std::string GetUserMacrosRegKeyBase() override;
protected:
const char* GetIDEVersion() override { return "9.0"; }
const char* GetIDEVersion() const override { return "9.0"; }
private:
class Factory;

View File

@@ -137,7 +137,7 @@ protected:
// below 8.
virtual bool VSLinksDependencies() const { return true; }
virtual const char* GetIDEVersion() = 0;
virtual const char* GetIDEVersion() const = 0;
bool ComputeTargetDepends() override;
class VSDependSet : public std::set<std::string>