objectbox / objectbox-generator

ObjectBox Generator based on FlatBuffers schema files (fbs) for C and C++ (more languages in the future)
https://objectbox.io
GNU Affero General Public License v3.0
35 stars 11 forks source link

cd into a file's dir to make includes work #36

Open greenrobot opened 3 years ago

greenrobot commented 3 years ago

Let's say we have a file mydir/my.fbs which also contains include "myinclude.fbs";, with myinclude.fbs also in mydir.

The generator should change into the dir containing the processed file (mydir), to make sure the include works.