summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio9Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-16 15:44:08 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-16 15:44:08 (GMT)
commit09e398fa9f6e2a858780c78e3096a56e96a3dcb7 (patch)
tree39bc29839c768ee5253adf222d10ad6a475577d2 /Source/cmGlobalVisualStudio9Generator.h
parent33207a9a87d53b7cb97e0b30bc36dccad3c50289 (diff)
downloadCMake-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/cmGlobalVisualStudio9Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio9Generator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.h b/Source/cmGlobalVisualStudio9Generator.h
index 0841603..ea31ab5 100644
--- a/Source/cmGlobalVisualStudio9Generator.h
+++ b/Source/cmGlobalVisualStudio9Generator.h
@@ -65,5 +65,7 @@ public:
* Studio?
*/
virtual std::string GetUserMacrosRegKeyBase();
+protected:
+ virtual const char* GetIDEVersion() { return "9.0"; }
};
#endif