{"repo":"objectbox/objectbox-generator","free":true,"listed":false,"github":"https://github.com/objectbox/objectbox-generator","clone":"git clone https://github.com/objectbox/objectbox-generator.git","description":"ObjectBox Generator based on FlatBuffers schema files (fbs) for C and C++ (more languages in the future)","language":"Go","stars":41,"topics":["objectbox","database","code-generator","cross-platform","nosql","c","embedded","go","golang","cpp"],"license":"AGPL-3.0","category":"databases-storage","readme_excerpt":"ObjectBox Generator Current version: 5.0.0 ObjectBox is a superfast cross-platform object-oriented database. ObjectBox Generator produces code for the ObjectBox SDKs of the following programing languages: Go: integrated via go:generate and annotations in Go sources (no need to run the generator manually) C and C++: reads FlatBuffers schema files ( .fbs ); integrated via CMake JavaScript/TypeScript: preview based on FlatBuffers schema files ( .fbs ) generates JavaScript code; for now, you need to run the generator manually. Download Install the objectbox-generator by downloading the latest binary for your OS from releases. If you want, add it to $PATH for convenience. Alternatively, CMake users can fetch ObjectBox and the Generator for C++ using FetchContent (link). Build If you prefer to build the generator yourself (vs. downloading), clone this repo and simply run make . This will produce an \"objectbox-generator\" binary in the main project directory. Build notes: To build yourself, you need Go, Make, CMake and a C++11 tool chain. To run test suite, run make test-depend test . test-depend needs to run only once to download objectbox core library and to build flatcc. A full test cycle can be triggered by make clean all test-depend test . Getting started To get started, have a look at the specific language bindings (the approaches differ): C and C++ repository and docs. CMake users use add obx schema() task to configure and invoke the generator at build time. Non-CMake users ca","default_branch":null,"files":null,"tree":[],"storefront":"/r/objectbox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/objectbox/objectbox-generator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}