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/cmGlobalVisualStudio71Generator.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/cmGlobalVisualStudio71Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.h b/Source/cmGlobalVisualStudio71Generator.h index ed847e1..22c5dd4 100644 --- a/Source/cmGlobalVisualStudio71Generator.h +++ b/Source/cmGlobalVisualStudio71Generator.h @@ -57,6 +57,7 @@ public: virtual std::string GetUserMacrosRegKeyBase(); protected: + virtual const char* GetIDEVersion() { return "7.1"; } virtual void AddPlatformDefinitions(cmMakefile* mf); virtual void WriteSLNFile(std::ostream& fout, cmLocalGenerator* root, |