| 2749 | } |
| 2750 | |
| 2751 | std::string CPPMakeRule(const Parser &parser, const std::string &path, |
| 2752 | const std::string &file_name) { |
| 2753 | const auto filebase = |
| 2754 | flatbuffers::StripPath(flatbuffers::StripExtension(file_name)); |
| 2755 | const auto included_files = parser.GetIncludedFilesRecursive(file_name); |
| 2756 | std::string make_rule = GeneratedFileName(path, filebase) + ": "; |
| 2757 | for (auto it = included_files.begin(); it != included_files.end(); ++it) { |
| 2758 | make_rule += " " + *it; |
| 2759 | } |
| 2760 | return make_rule; |
| 2761 | } |
| 2762 | |
| 2763 | } // namespace flatbuffers |
nothing calls this directly
no test coverage detected