summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 13:40:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-06 13:44:16 (GMT)
commitccbc2259137fe61a770bb0b5538a20bf5e00bc8f (patch)
tree26a637da257293781f249ac6309133b1fae914d7 /Source/cmTarget.cxx
parent50a1bd3df13d47167d55fb1584b2c1bc7235884b (diff)
downloadCMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.zip
CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.tar.gz
CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.tar.bz2
cmGeneratorTarget: Move Feature API from cmTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 4436966..fd732d7 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -2814,34 +2814,6 @@ void cmTarget::GetTargetVersion(bool soversion,
}
//----------------------------------------------------------------------------
-const char* cmTarget::GetFeature(const std::string& feature,
- const std::string& config) const
-{
- if(!config.empty())
- {
- std::string featureConfig = feature;
- featureConfig += "_";
- featureConfig += cmSystemTools::UpperCase(config);
- if(const char* value = this->GetProperty(featureConfig))
- {
- return value;
- }
- }
- if(const char* value = this->GetProperty(feature))
- {
- return value;
- }
- 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
{
if (this->IsImported())