1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 21:40:15 +08:00

cmGlobalGenerator: add missing spaces in output

The preludes to commands should have a space to separate them from the
first argument of the command sequence.
This commit is contained in:
Ben Boeckel
2023-05-16 12:44:29 -04:00
parent 465ab8d872
commit 28ee3bef34

View File

@@ -2131,8 +2131,8 @@ int cmGlobalGenerator::Build(
this->GenerateBuildCommand(makeCommandCSTR, projectName, bindir,
{ "clean" }, realConfig, jobs, verbose,
buildOptions);
output +=
cmStrCat("\nRun Clean Command:", cleanCommand.front().Printable(), '\n');
output += cmStrCat(
"\nRun Clean Command: ", cleanCommand.front().Printable(), '\n');
if (cleanCommand.size() != 1) {
this->GetCMakeInstance()->IssueMessage(MessageType::INTERNAL_ERROR,
"The generator did not produce "
@@ -2155,7 +2155,7 @@ int cmGlobalGenerator::Build(
// now build
std::string makeCommandStr;
output += "\nRun Build Command(s):";
output += "\nRun Build Command(s): ";
retVal = 0;
for (auto command = makeCommand.begin();