summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-27 20:21:37 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-27 20:21:59 (GMT)
commit47990f9fef31eb4369bb01d72a6d86de332ae196 (patch)
treeac02d65dca9e73354f63804b9c920c8591b6be89 /Source/cmMakefileExecutableTargetGenerator.cxx
parenta8667467ea6337faddb0eeb7a8d0b08154338ac0 (diff)
downloadCMake-47990f9fef31eb4369bb01d72a6d86de332ae196.zip
CMake-47990f9fef31eb4369bb01d72a6d86de332ae196.tar.gz
CMake-47990f9fef31eb4369bb01d72a6d86de332ae196.tar.bz2
Inline and remove AddFeatureFlags method
The method implementation is now only one call of another method, so inline it at call sites and remove it.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index a719887..272d45b 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -150,7 +150,8 @@ void cmMakefileExecutableTargetGenerator::WriteDeviceExecutableRule(
linkLanguage, *this->GeneratorTarget));
// Add language feature flags.
- this->AddFeatureFlags(flags, linkLanguage);
+ this->LocalGenerator->AddLanguageFlags(flags, this->GeneratorTarget,
+ linkLanguage, this->ConfigName);
this->LocalGenerator->AddArchitectureFlags(flags, this->GeneratorTarget,
linkLanguage, this->ConfigName);
@@ -433,7 +434,8 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
}
// Add language feature flags.
- this->AddFeatureFlags(flags, linkLanguage);
+ this->LocalGenerator->AddLanguageFlags(flags, this->GeneratorTarget,
+ linkLanguage, this->ConfigName);
this->LocalGenerator->AddArchitectureFlags(flags, this->GeneratorTarget,
linkLanguage, this->ConfigName);