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

Method ProcessLine

Source/cmcmd.cxx:252–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251private:
252 bool ProcessLine() override
253 {
254 if (cmHasPrefix(this->Line, this->IncludePrefix)) {
255 auto path =
256 cmTrimWhitespace(this->Line.c_str() + this->IncludePrefix.size());
257 cmSystemTools::ConvertToLongPath(path);
258 this->DepFile << cmCMakePath(path).GenericString() << std::endl;
259 } else {
260 this->Output << this->Line << std::endl;
261 }
262
263 return true;
264 }
265
266 cm::string_view IncludePrefix;
267 cmsys::ofstream& DepFile;

Callers

nothing calls this directly

Calls 6

cmHasPrefixFunction · 0.85
cmTrimWhitespaceFunction · 0.85
cmCMakePathClass · 0.85
c_strMethod · 0.80
GenericStringMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected