1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 12:53:55 +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, this->GenerateBuildCommand(makeCommandCSTR, projectName, bindir,
{ "clean" }, realConfig, jobs, verbose, { "clean" }, realConfig, jobs, verbose,
buildOptions); buildOptions);
output += output += cmStrCat(
cmStrCat("\nRun Clean Command:", cleanCommand.front().Printable(), '\n'); "\nRun Clean Command: ", cleanCommand.front().Printable(), '\n');
if (cleanCommand.size() != 1) { if (cleanCommand.size() != 1) {
this->GetCMakeInstance()->IssueMessage(MessageType::INTERNAL_ERROR, this->GetCMakeInstance()->IssueMessage(MessageType::INTERNAL_ERROR,
"The generator did not produce " "The generator did not produce "
@@ -2155,7 +2155,7 @@ int cmGlobalGenerator::Build(
// now build // now build
std::string makeCommandStr; std::string makeCommandStr;
output += "\nRun Build Command(s):"; output += "\nRun Build Command(s): ";
retVal = 0; retVal = 0;
for (auto command = makeCommand.begin(); for (auto command = makeCommand.begin();