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
+1 -1
View File
@@ -140,7 +140,7 @@ protected:
virtual bool SelectWindowsPhoneToolset(std::string& toolset) const; virtual bool SelectWindowsPhoneToolset(std::string& toolset) const;
virtual bool SelectWindowsStoreToolset(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(); std::string const& GetMSBuildCommand();
+1 -1
View File
@@ -43,7 +43,7 @@ protected:
bool IsWindowsPhoneToolsetInstalled() const; bool IsWindowsPhoneToolsetInstalled() const;
bool IsWindowsStoreToolsetInstalled() const; bool IsWindowsStoreToolsetInstalled() const;
const char* GetIDEVersion() override { return "11.0"; } const char* GetIDEVersion() const override { return "11.0"; }
bool UseFolderProperty() const override; bool UseFolderProperty() const override;
static std::set<std::string> GetInstalledWindowsCESDKs(); static std::set<std::string> GetInstalledWindowsCESDKs();
+1 -1
View File
@@ -48,7 +48,7 @@ protected:
// of the toolset is installed // of the toolset is installed
bool IsWindowsPhoneToolsetInstalled() const; bool IsWindowsPhoneToolsetInstalled() const;
bool IsWindowsStoreToolsetInstalled() const; bool IsWindowsStoreToolsetInstalled() const;
const char* GetIDEVersion() override { return "12.0"; } const char* GetIDEVersion() const override { return "12.0"; }
private: private:
class Factory; class Factory;
+1 -1
View File
@@ -41,7 +41,7 @@ protected:
// version of the toolset. // version of the toolset.
virtual std::string GetWindows10SDKMaxVersion() const; 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); virtual bool SelectWindows10SDK(cmMakefile* mf, bool required);
// Used to verify that the Desktop toolset for the current generator is // Used to verify that the Desktop toolset for the current generator is
+1 -1
View File
@@ -39,7 +39,7 @@ protected:
bool InitializeWindows(cmMakefile* mf) override; bool InitializeWindows(cmMakefile* mf) override;
bool SelectWindowsStoreToolset(std::string& toolset) const 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 // Used to verify that the Desktop toolset for the current generator is
// installed on the machine. // installed on the machine.
-1
View File
@@ -111,7 +111,6 @@ public:
protected: protected:
void Generate() override; void Generate() override;
virtual const char* GetIDEVersion() = 0;
std::string const& GetDevEnvCommand(); std::string const& GetDevEnvCommand();
virtual std::string FindDevEnvCommand(); virtual std::string FindDevEnvCommand();
+1 -1
View File
@@ -49,7 +49,7 @@ public:
protected: protected:
void AddExtraIDETargets() override; void AddExtraIDETargets() override;
const char* GetIDEVersion() override { return "8.0"; } const char* GetIDEVersion() const override { return "8.0"; }
std::string FindDevEnvCommand() override; std::string FindDevEnvCommand() override;
+1 -1
View File
@@ -37,7 +37,7 @@ public:
std::string GetUserMacrosRegKeyBase() override; std::string GetUserMacrosRegKeyBase() override;
protected: protected:
const char* GetIDEVersion() override { return "9.0"; } const char* GetIDEVersion() const override { return "9.0"; }
private: private:
class Factory; class Factory;
+1 -1
View File
@@ -137,7 +137,7 @@ protected:
// below 8. // below 8.
virtual bool VSLinksDependencies() const { return true; } virtual bool VSLinksDependencies() const { return true; }
virtual const char* GetIDEVersion() = 0; virtual const char* GetIDEVersion() const = 0;
bool ComputeTargetDepends() override; bool ComputeTargetDepends() override;
class VSDependSet : public std::set<std::string> class VSDependSet : public std::set<std::string>