VS: Move ExpressEdition member to top-level generator

We no longer support any VS versions that pre-date introduction of
express editions.
This commit is contained in:
Brad King 2019-01-09 11:50:21 -05:00
parent 03f74a16cd
commit 6d99406e69
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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;