objectbox / objectbox-c

C and C++ database for objects and structs
https://objectbox.io/
Apache License 2.0
200 stars 35 forks source link

tasklist.fbs with/without :sync #15

Closed marciojtjr closed 2 years ago

marciojtjr commented 3 years ago

This example has 2 apps, one without sync and another with sync. This file is currently being shared in the examples/cpp-gen folder. But, with this: "/// objectbox:sync" directive it can't be used on the main.cpp (without sync) example. We must separate the folders (examples/cpp-gen-no-sync, examples/cpp-gen-sync) or generate specific .fbs file on the CMakeLists.txt

greenrobot commented 2 years ago

Thanks for bringing this to our attention. It has been resolved recently. Now, there are two directories, one without sync and one with sync.