Hi, I'm interested in creating program binaries that do not need any additional external Flatbuffers schema files.
I partly accomplished this by putting the contents of the .fbs file into the binary. CMake automatically generates the .h files and an additional resource C++ source file containing the schema definitions (approach inspired by
http://stackoverflow.com/a/27206982). The program loads all schemas using the Parser class.
But as soon as a .fbs file contains an 'include' expression it won't work.
Is there an existing approach to bake the schema files into executable binaries?
I removed the include statements to check whether it works but is this the only solution?
How can cyclic dependencies be handled (i.e. node has edges, edges point to nodes)?