mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
1 parent
f3d9a82110
commit
5a41d926dd
1 file changed
+3
-1
@@ -415,7 +415,9 @@ void cmGhsMultiTargetGenerator::WriteCustomCommandsHelper(
|
||||
#endif
|
||||
// Echo the custom command's comment text.
|
||||
if (cm::optional<std::string> comment = ccg.GetComment()) {
|
||||
std::string echocmd = cmStrCat("echo ", *comment);
|
||||
std::string escapedComment = this->LocalGenerator->EscapeForShell(
|
||||
*comment, ccg.GetCC().GetEscapeAllowMakeVars());
|
||||
std::string echocmd = cmStrCat("echo ", escapedComment);
|
||||
cmdLines.push_back(std::move(echocmd));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user