MCPcopy Create free account
hub / github.com/Kitware/CMake / NinjaSafeComment

Function NinjaSafeComment

Source/cmNinjaNormalTargetGenerator.cxx:443–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443static void NinjaSafeComment(std::string& comment)
444{
445 // Replace control characters in comments.
446 cmSystemTools::ReplaceString(comment, "\n", " / ");
447 cmSystemTools::ReplaceString(comment, "$", "$$");
448}
449
450void cmNinjaNormalTargetGenerator::WriteLinkRule(
451 bool useResponseFile, std::string const& config,

Callers 1

WriteLinkRuleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…