summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-17 15:39:18 (GMT)
committerBrad King <brad.king@kitware.com>2022-11-18 16:44:52 (GMT)
commita1c20b08b4b1b913a205607dad7240d5c63f4a62 (patch)
treefd8d1130b8a384e3cffd21a1356a7f6af207f964 /Source/cmLocalGenerator.h
parent914571a04249ee561a30309197d8e1c1cacbe18b (diff)
downloadCMake-a1c20b08b4b1b913a205607dad7240d5c63f4a62.zip
CMake-a1c20b08b4b1b913a205607dad7240d5c63f4a62.tar.gz
CMake-a1c20b08b4b1b913a205607dad7240d5c63f4a62.tar.bz2
cmLocalGenerator: Inline AddCompilerRequirementFlag in only call site
The call site in `AddLanguageFlags` is now the "one true place" for adding language standard flags. Inline the helper to reduce risk of adding other call sites later.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 765441c..20f23de 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -164,10 +164,6 @@ public:
const std::string& lang);
void AddConfigVariableFlags(std::string& flags, const std::string& var,
const std::string& config);
- void AddCompilerRequirementFlag(std::string& flags,
- cmGeneratorTarget const* target,
- const std::string& lang,
- const std::string& config);
void AddColorDiagnosticsFlags(std::string& flags, const std::string& lang);
//! Append flags to a string.
virtual void AppendFlags(std::string& flags,