diff options
author | Brad King <brad.king@kitware.com> | 2016-04-26 12:16:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-26 12:16:19 (GMT) |
commit | 0c58d2d0fdc518e12e6aa5a15012437c573a910c (patch) | |
tree | da66cd5aef685febba20624af4a614f9a78a9008 /Source/cmGlobalVisualStudio9Generator.cxx | |
parent | 657a446175c1b61999a77958c5b7480f8be041a5 (diff) | |
download | CMake-0c58d2d0fdc518e12e6aa5a15012437c573a910c.zip CMake-0c58d2d0fdc518e12e6aa5a15012437c573a910c.tar.gz CMake-0c58d2d0fdc518e12e6aa5a15012437c573a910c.tar.bz2 |
VS: Detect VS 8 and 9 Express editions
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx index 884f754..da6ffae 100644 --- a/Source/cmGlobalVisualStudio9Generator.cxx +++ b/Source/cmGlobalVisualStudio9Generator.cxx @@ -104,6 +104,10 @@ cmGlobalVisualStudio9Generator::cmGlobalVisualStudio9Generator(cmake* cm, : cmGlobalVisualStudio8Generator(cm, name, platformName) { this->Version = VS9; + std::string vc9Express; + this->ExpressEdition = cmSystemTools::ReadRegistryValue( + "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\9.0\\Setup\\VC;" + "ProductDir", vc9Express, cmSystemTools::KeyWOW64_32); } //---------------------------------------------------------------------------- |