mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
cmGlobalVisualStudioGenerator::GetIDEVersion(): const added
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user