Browse Source

VS: Move ExpressEdition member to top-level generator

We no longer support any VS versions that pre-date introduction of
express editions.
Brad King 6 years ago
parent
commit
6d99406e69
2 changed files with 4 additions and 4 deletions
  1. 0 4
      Source/cmGlobalVisualStudio8Generator.h
  2. 4 0
      Source/cmGlobalVisualStudioGenerator.h

+ 0 - 4
Source/cmGlobalVisualStudio8Generator.h

@@ -44,9 +44,6 @@ public:
     return !this->WindowsCEVersion.empty();
   }
 
-  /** Is the installed VS an Express edition?  */
-  bool IsExpressEdition() const { return this->ExpressEdition; }
-
 protected:
   void AddExtraIDETargets() override;
 
@@ -76,6 +73,5 @@ protected:
 
   std::string Name;
   std::string WindowsCEVersion;
-  bool ExpressEdition;
 };
 #endif

+ 4 - 0
Source/cmGlobalVisualStudioGenerator.h

@@ -47,6 +47,9 @@ public:
   VSVersion GetVersion() const;
   void SetVersion(VSVersion v);
 
+  /** Is the installed VS an Express edition?  */
+  bool IsExpressEdition() const { return this->ExpressEdition; }
+
   /**
    * Configure CMake's Visual Studio macros file into the user's Visual
    * Studio macros directory.
@@ -159,6 +162,7 @@ protected:
 
 protected:
   VSVersion Version;
+  bool ExpressEdition;
 
 private:
   virtual std::string GetVSMakeProgram() = 0;