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

Method AppendFlags

Source/cmLocalUnixMakefileGenerator3.cxx:909–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907}
908
909void cmLocalUnixMakefileGenerator3::AppendFlags(
910 std::string& flags, std::string const& newFlags) const
911{
912 if (this->IsWatcomWMake() && !newFlags.empty()) {
913 std::string newf = newFlags;
914 if (newf.find("\\\"") != std::string::npos) {
915 cmSystemTools::ReplaceString(newf, "\\\"", "\"");
916 this->cmLocalGenerator::AppendFlags(flags, newf);
917 return;
918 }
919 }
920 this->cmLocalGenerator::AppendFlags(flags, newFlags);
921}
922
923void cmLocalUnixMakefileGenerator3::AppendRuleDepend(
924 std::vector<std::string>& depends, char const* ruleFileName)

Callers

nothing calls this directly

Calls 3

IsWatcomWMakeMethod · 0.80
emptyMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected