diff options
author | Brad King <brad.king@kitware.com> | 2018-09-25 15:21:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-18 12:26:27 (GMT) |
commit | 52311484dd8c7d3882f7f4c75efe0c3855c2f982 (patch) | |
tree | 5464bea17543445a2f410955ff2818c65595e084 /Source/cmLocalGenerator.cxx | |
parent | dacbb414550db63ff40225f3f6057c3c74bcf5c9 (diff) | |
download | CMake-52311484dd8c7d3882f7f4c75efe0c3855c2f982.zip CMake-52311484dd8c7d3882f7f4c75efe0c3855c2f982.tar.gz CMake-52311484dd8c7d3882f7f4c75efe0c3855c2f982.tar.bz2 |
cmLocalGenerator: Make MoveSystemIncludesToEnd file-local
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 941d787..7d922d7 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -202,9 +202,10 @@ void cmLocalGenerator::ComputeObjectMaxPath() this->ObjectMaxPathViolations.clear(); } -void cmLocalGenerator::MoveSystemIncludesToEnd( - std::vector<std::string>& includeDirs, const std::string& config, - const std::string& lang, const cmGeneratorTarget* target) const +static void MoveSystemIncludesToEnd(std::vector<std::string>& includeDirs, + const std::string& config, + const std::string& lang, + const cmGeneratorTarget* target) { if (!target) { return; @@ -707,7 +708,7 @@ std::string cmLocalGenerator::GetIncludeFlags( } std::vector<std::string> includes = includeDirs; - this->MoveSystemIncludesToEnd(includes, config, lang, target); + MoveSystemIncludesToEnd(includes, config, lang, target); OutputFormat shellFormat = forResponseFile ? RESPONSE : SHELL; std::ostringstream includeFlags; @@ -960,7 +961,7 @@ void cmLocalGenerator::GetIncludeDirectories(std::vector<std::string>& dirs, } } - this->MoveSystemIncludesToEnd(dirs, config, lang, target); + MoveSystemIncludesToEnd(dirs, config, lang, target); // Add standard include directories for this language. { |