diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-20 11:18:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-26 14:33:25 (GMT) |
commit | 332dc09d0de3b427eac8a36c3b0c1339daf7179c (patch) | |
tree | 77c87dee7792592f041bb9473071caa901b07869 /Source/cmGlobalVisualStudioGenerator.h | |
parent | d41d4d3d61275414958831bc3d5a45f74b1f2339 (diff) | |
download | CMake-332dc09d0de3b427eac8a36c3b0c1339daf7179c.zip CMake-332dc09d0de3b427eac8a36c3b0c1339daf7179c.tar.gz CMake-332dc09d0de3b427eac8a36c3b0c1339daf7179c.tar.bz2 |
VS: Add static method to get the base of the registry
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 7258e31..65ba24f 100644 --- a/Source/cmGlobalVisualStudioGenerator.h +++ b/Source/cmGlobalVisualStudioGenerator.h @@ -65,6 +65,9 @@ public: /** Get the top-level registry key for this VS version. */ std::string GetRegistryBase(); + /** Get the top-level registry key for the given VS version. */ + static std::string GetRegistryBase(const char* version); + /** Return true if the generated build tree may contain multiple builds. i.e. "Can I build Debug and Release in the same tree?" */ virtual bool IsMultiConfig() { return true; } |