mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-08 22:20:56 +00:00
Implement --file-names-only (#8788)
* flatc builds and seems to work, some of the extra targets are having linker errors * fix build system * pipeline failures * un-rename files * refactor to use unique_ptr * typo * rm make_unique, add comments * fix cmake --------- Co-authored-by: Wouter van Oortmerssen <aardappel@gmail.com>
This commit is contained in:
@@ -409,7 +409,8 @@ static bool GenerateFBS(const Parser& parser, const std::string& path,
|
||||
"When you use --proto, that you should check for conformity "
|
||||
"yourself, using the existing --conform");
|
||||
}
|
||||
return SaveFile((path + file_name + ".fbs").c_str(), fbs, false);
|
||||
return parser.opts.file_saver->SaveFile((path + file_name + ".fbs").c_str(),
|
||||
fbs, false);
|
||||
}
|
||||
|
||||
class FBSCodeGenerator : public CodeGenerator {
|
||||
|
||||
Reference in New Issue
Block a user