summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-04 09:21:26 (GMT)
committerBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-04 09:44:14 (GMT)
commitfdeb364a84f99fd1d1f34a929d02a86653ea364f (patch)
treed881f240214f7c081ed6ad8e324431098d63846b /Source/cmGlobalNinjaGenerator.cxx
parentb3955a08ab1af0e2f4dc8b42b2b387e474bc01db (diff)
downloadCMake-fdeb364a84f99fd1d1f34a929d02a86653ea364f.zip
CMake-fdeb364a84f99fd1d1f34a929d02a86653ea364f.tar.gz
CMake-fdeb364a84f99fd1d1f34a929d02a86653ea364f.tar.bz2
cmGlobalGenerator: Change case of methods from GeneratedMakeCommand struct
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index d21fd35..61571f1 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -683,23 +683,23 @@ void cmGlobalNinjaGenerator::GenerateBuildCommand(
const std::string& targetName, const std::string& /*config*/, bool /*fast*/,
int jobs, bool verbose, std::vector<std::string> const& makeOptions)
{
- makeCommand.add(this->SelectMakeProgram(makeProgram));
+ makeCommand.Add(this->SelectMakeProgram(makeProgram));
if (verbose) {
- makeCommand.add("-v");
+ makeCommand.Add("-v");
}
if ((jobs != cmake::NO_BUILD_PARALLEL_LEVEL) &&
(jobs != cmake::DEFAULT_BUILD_PARALLEL_LEVEL)) {
- makeCommand.add("-j", std::to_string(jobs));
+ makeCommand.Add("-j", std::to_string(jobs));
}
- makeCommand.add(makeOptions.begin(), makeOptions.end());
+ makeCommand.Add(makeOptions.begin(), makeOptions.end());
if (!targetName.empty()) {
if (targetName == "clean") {
- makeCommand.add("-t", "clean");
+ makeCommand.Add("-t", "clean");
} else {
- makeCommand.add(targetName);
+ makeCommand.Add(targetName);
}
}
}