| 250 | |
| 251 | private: |
| 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; |
nothing calls this directly
no test coverage detected