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/cmGlobalVisualStudio8Generator.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/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 3abff6c..7e880fe 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -103,6 +103,10 @@ cmGlobalVisualStudio8Generator::cmGlobalVisualStudio8Generator(cmake* cm, this->Name = name; this->ExtraFlagTable = this->GetExtraFlagTableVS8(); this->Version = VS8; + std::string vc8Express; + this->ExpressEdition = cmSystemTools::ReadRegistryValue( + "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\8.0\\Setup\\VC;" + "ProductDir", vc8Express, cmSystemTools::KeyWOW64_32); } //---------------------------------------------------------------------------- |