瀏覽代碼

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.
Ben Boeckel 2 年之前
父節點
當前提交
28ee3bef34
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Source/cmGlobalGenerator.cxx

+ 3 - 3
Source/cmGlobalGenerator.cxx

@@ -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();