bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/main/download.sh)
--sync
to the previous command./usr/lib
(linux) or /usr/local/lib
(macOS).objectbox-generator
executable by downloading the version for your OS from releases. If you want, add it to $PATH
for convenience. Alternatively, instead of downloading, you can build the generator yourself by cloning this repo and running make
. To build yourself, you need a recent Go version, CMake and a C++11 toolchain.objectbox-generator -help
to verify the installation and see the options.FetchContent
command like described above, you are already set up to work with FlatBuffers APIs. The FlatBuffers headers are already part of the objectbox
library interface include directories.