diff options
author | Brad King <brad.king@kitware.com> | 2009-09-16 15:44:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-16 15:44:08 (GMT) |
commit | 09e398fa9f6e2a858780c78e3096a56e96a3dcb7 (patch) | |
tree | 39bc29839c768ee5253adf222d10ad6a475577d2 /Source/cmGlobalVisualStudioGenerator.h | |
parent | 33207a9a87d53b7cb97e0b30bc36dccad3c50289 (diff) | |
download | CMake-09e398fa9f6e2a858780c78e3096a56e96a3dcb7.zip CMake-09e398fa9f6e2a858780c78e3096a56e96a3dcb7.tar.gz CMake-09e398fa9f6e2a858780c78e3096a56e96a3dcb7.tar.bz2 |
Create VS generator GetRegistryBase method
This method returns the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\<version>
A protected GetIDEVersion method retrieves the version-specific part of
the key name.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h index e7b8e46..f471300 100644 --- a/Source/cmGlobalVisualStudioGenerator.h +++ b/Source/cmGlobalVisualStudioGenerator.h @@ -68,6 +68,8 @@ public: bool TargetIsFortranOnly(cmTarget& t); const char* GetUtilityForTarget(cmTarget& target, const char*); + /** Get the top-level registry key for this VS version. */ + std::string GetRegistryBase(); protected: void FixUtilityDepends(); @@ -76,6 +78,7 @@ protected: // below 8. virtual bool VSLinksDependencies() const { return true; } + virtual const char* GetIDEVersion() = 0; private: void FixUtilityDependsForTarget(cmTarget& target); void CreateUtilityDependTarget(cmTarget& target); |