|
|
@@ -3180,6 +3180,13 @@ const char* cmTarget::GetFeature(const std::string& feature,
|
|
|
return this->Makefile->GetFeature(feature, config);
|
|
|
}
|
|
|
|
|
|
+//----------------------------------------------------------------------------
|
|
|
+bool cmTarget::GetFeatureAsBool(const std::string& feature,
|
|
|
+ const std::string& config) const
|
|
|
+{
|
|
|
+ return cmSystemTools::IsOn(this->GetFeature(feature, config));
|
|
|
+}
|
|
|
+
|
|
|
//----------------------------------------------------------------------------
|
|
|
bool cmTarget::HandleLocationPropertyPolicy(cmMakefile* context) const
|
|
|
{
|