summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.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/cmNinjaTargetGenerator.cxx
parent50a1bd3df13d47167d55fb1584b2c1bc7235884b (diff)
downloadCMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.zip
CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.tar.gz
CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.tar.bz2
cmGeneratorTarget: Move Feature API from cmTarget.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 879d6b7..b2aef68 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -107,13 +107,14 @@ std::string cmNinjaTargetGenerator::LanguageCompilerRule(
// TODO: Picked up from cmMakefileTargetGenerator. Refactor it.
const char* cmNinjaTargetGenerator::GetFeature(const std::string& feature)
{
- return this->Target->GetFeature(feature, this->GetConfigName());
+ return this->GeneratorTarget->GetFeature(feature, this->GetConfigName());
}
// TODO: Picked up from cmMakefileTargetGenerator. Refactor it.
bool cmNinjaTargetGenerator::GetFeatureAsBool(const std::string& feature)
{
- return this->Target->GetFeatureAsBool(feature, this->GetConfigName());
+ return this->GeneratorTarget->GetFeatureAsBool(feature,
+ this->GetConfigName());
}
// TODO: Picked up from cmMakefileTargetGenerator. Refactor it.