cmCommonTargetGenerator: Adopt GetFeature and friends

De-duplicate the GetFeature, GetFeatureAsBool, and AddFeatureFlags
members from the Makefile and Ninja target generators.
This commit is contained in:
Brad King
2015-07-08 14:49:04 -04:00
parent abfa5f2d1f
commit beee793732
6 changed files with 34 additions and 63 deletions
-7
View File
@@ -258,13 +258,6 @@ protected:
// Helper to add flag for windows .def file.
void AddModuleDefinitionFlag(std::string& flags);
// Add language feature flags.
void AddFeatureFlags(std::string& flags, const std::string& lang);
// Feature query methods.
const char* GetFeature(const std::string& feature);
bool GetFeatureAsBool(const std::string& feature);
//==================================================================
// Convenience routines that do nothing more than forward to
// implementaitons