summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.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/cmGlobalXCodeGenerator.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/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 11cc98e..88720b6 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -341,15 +341,15 @@ void cmGlobalXCodeGenerator::GenerateBuildCommand(
int jobs, bool /*verbose*/, std::vector<std::string> const& makeOptions)
{
// now build the test
- makeCommand.add(
+ makeCommand.Add(
this->SelectMakeProgram(makeProgram, this->GetXcodeBuildCommand()));
if (!projectName.empty()) {
- makeCommand.add("-project");
+ makeCommand.Add("-project");
std::string projectArg = projectName;
projectArg += ".xcode";
projectArg += "proj";
- makeCommand.add(projectArg);
+ makeCommand.Add(projectArg);
}
bool clean = false;
@@ -359,21 +359,21 @@ void cmGlobalXCodeGenerator::GenerateBuildCommand(
realTarget = "ALL_BUILD";
}
- makeCommand.add((clean ? "clean" : "build"));
- makeCommand.add("-target", (realTarget.empty() ? "ALL_BUILD" : realTarget));
- makeCommand.add("-configuration", (config.empty() ? "Debug" : config));
+ makeCommand.Add((clean ? "clean" : "build"));
+ makeCommand.Add("-target", (realTarget.empty() ? "ALL_BUILD" : realTarget));
+ makeCommand.Add("-configuration", (config.empty() ? "Debug" : config));
if (jobs != cmake::NO_BUILD_PARALLEL_LEVEL) {
- makeCommand.add("-jobs");
+ makeCommand.Add("-jobs");
if (jobs != cmake::DEFAULT_BUILD_PARALLEL_LEVEL) {
- makeCommand.add(std::to_string(jobs));
+ makeCommand.Add(std::to_string(jobs));
}
}
if (this->XcodeVersion >= 70) {
- makeCommand.add("-hideShellScriptEnvironment");
+ makeCommand.Add("-hideShellScriptEnvironment");
}
- makeCommand.add(makeOptions.begin(), makeOptions.end());
+ makeCommand.Add(makeOptions.begin(), makeOptions.end());
}
///! Create a local generator appropriate to this Global Generator