summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio71Generator.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/cmGlobalVisualStudio71Generator.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/cmGlobalVisualStudio71Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.h1
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,