diff options
author | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2019-03-04 09:21:26 (GMT) |
---|---|---|
committer | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2019-03-04 09:44:14 (GMT) |
commit | fdeb364a84f99fd1d1f34a929d02a86653ea364f (patch) | |
tree | d881f240214f7c081ed6ad8e324431098d63846b /Source/cmGlobalGhsMultiGenerator.cxx | |
parent | b3955a08ab1af0e2f4dc8b42b2b387e474bc01db (diff) | |
download | CMake-fdeb364a84f99fd1d1f34a929d02a86653ea364f.zip CMake-fdeb364a84f99fd1d1f34a929d02a86653ea364f.tar.gz CMake-fdeb364a84f99fd1d1f34a929d02a86653ea364f.tar.bz2 |
cmGlobalGenerator: Change case of methods from GeneratedMakeCommand struct
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGhsMultiGenerator.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.cxx b/Source/cmGlobalGhsMultiGenerator.cxx index 746ddad..3511a15 100644 --- a/Source/cmGlobalGhsMultiGenerator.cxx +++ b/Source/cmGlobalGhsMultiGenerator.cxx @@ -377,16 +377,16 @@ void cmGlobalGhsMultiGenerator::GenerateBuildCommand( { const char* gbuild = this->CMakeInstance->GetCacheDefinition("CMAKE_MAKE_PROGRAM"); - makeCommand.add(this->SelectMakeProgram(makeProgram, (std::string)gbuild)); + makeCommand.Add(this->SelectMakeProgram(makeProgram, (std::string)gbuild)); if (jobs != cmake::NO_BUILD_PARALLEL_LEVEL) { - makeCommand.add("-parallel"); + makeCommand.Add("-parallel"); if (jobs != cmake::DEFAULT_BUILD_PARALLEL_LEVEL) { - makeCommand.add(std::to_string(jobs)); + makeCommand.Add(std::to_string(jobs)); } } - makeCommand.add(makeOptions.begin(), makeOptions.end()); + makeCommand.Add(makeOptions.begin(), makeOptions.end()); /* determine which top-project file to use */ std::string proj = projectName + ".top" + FILE_EXTENSION; @@ -399,15 +399,15 @@ void cmGlobalGhsMultiGenerator::GenerateBuildCommand( } } - makeCommand.add("-top", proj); + makeCommand.Add("-top", proj); if (!targetName.empty()) { if (targetName == "clean") { - makeCommand.add("-clean"); + makeCommand.Add("-clean"); } else { if (targetName.compare(targetName.size() - 4, 4, ".gpj") == 0) { - makeCommand.add(targetName); + makeCommand.Add(targetName); } else { - makeCommand.add(targetName + ".gpj"); + makeCommand.Add(targetName + ".gpj"); } } } |