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

Method AppendFlagEscape

Source/cmLocalFastbuildGenerator.cxx:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void cmLocalFastbuildGenerator::AppendFlagEscape(
90 std::string& flags, std::string const& rawFlag) const
91{
92 std::string escapedFlag = this->EscapeForShell(rawFlag);
93 // Other make systems will remove the double $ but
94 // fastbuild uses ^$ to escape it. So switch to that.
95 // cmSystemTools::ReplaceString(escapedFlag, "$$", "^$");
96 this->AppendFlags(flags, escapedFlag);
97}
98
99void cmLocalFastbuildGenerator::AdditionalCleanFiles(std::string const& config)
100{

Callers

nothing calls this directly

Calls 2

EscapeForShellMethod · 0.80
AppendFlagsMethod · 0.45

Tested by

no test coverage detected