summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-26 12:16:19 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-26 12:16:19 (GMT)
commit0c58d2d0fdc518e12e6aa5a15012437c573a910c (patch)
treeda66cd5aef685febba20624af4a614f9a78a9008 /Source/cmGlobalVisualStudio8Generator.h
parent657a446175c1b61999a77958c5b7480f8be041a5 (diff)
downloadCMake-0c58d2d0fdc518e12e6aa5a15012437c573a910c.zip
CMake-0c58d2d0fdc518e12e6aa5a15012437c573a910c.tar.gz
CMake-0c58d2d0fdc518e12e6aa5a15012437c573a910c.tar.bz2
VS: Detect VS 8 and 9 Express editions
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h
index b3093cc..93803c3 100644
--- a/Source/cmGlobalVisualStudio8Generator.h
+++ b/Source/cmGlobalVisualStudio8Generator.h
@@ -66,6 +66,9 @@ public:
virtual bool TargetsWindowsCE() const {
return !this->WindowsCEVersion.empty(); }
+ /** Is the installed VS an Express edition? */
+ bool IsExpressEdition() const { return this->ExpressEdition; }
+
protected:
virtual void AddExtraIDETargets();
virtual const char* GetIDEVersion() { return "8.0"; }
@@ -96,6 +99,7 @@ protected:
std::string Name;
std::string WindowsCEVersion;
+ bool ExpressEdition;
private:
class Factory;