File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 55
66# ObjectBox Generator
77
8- Current version: 4.0.0-beta
8+ Current version: 4.0.0
99
1010ObjectBox is a superfast cross-platform object-oriented database.
1111ObjectBox Generator produces code for ObjectBox C, C++ and Go APIs (more languages to be supported in the future).
@@ -36,9 +36,10 @@ Build notes:
3636To get started, have a look at the specific language bindings (the approaches differ):
3737
3838* C and C++ [ repository] ( https://github.com/objectbox/objectbox-c ) and [ docs] ( https://cpp.objectbox.io/ ) .
39- In summary, you define a FlatBuffers schema file, and the ObjectBox Generator will create plain C++ data classes
40- and helper classes that "glue" the data classes to the ObjectBox runtime library.
41- CMake users can also use the convenient add_obx_schema() task instead of using the generator executable directly.
39+ * CMake users use ` add_obx_schema() ` task to configure and invoke the generator at build time.
40+ * Non-CMake users can run the generator directly.
41+ In summary, you define a FlatBuffers schema file, and the ObjectBox Generator will create plain C++ data classes
42+ and helper classes that "glue" the data classes to the ObjectBox runtime library.
4243* Go [ repository] ( https://github.com/objectbox/objectbox-go ) and [ docs] ( https://golang.objectbox.io/ ) .
4344 Here, you start with Go data structs, for which the Generator generates the glue code directly.
4445
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ Generated headers and sources are written to the sub-directories ``ObjectBoxGene
128128option (OBX_GENERATOR_ALLOW_FETCH "Opt-in automatic download and prepare for local execution" ON )
129129
130130# Updated by maintainer to latest available version:
131- set (ObjectBoxGenerator_FETCH_VERSION 4.0.0-beta ) # Note: must be safe for filename
131+ set (ObjectBoxGenerator_FETCH_VERSION 4.0.0) # Note: must be safe for filename
132132# Using the version in the directories used for the generator executable to cleanly support multiple versions.
133133# This is e.g. relevant when updating to ensure fetching the new version.
134134set (ObjectBoxGenerator_FETCH_DIR ${CMAKE_BINARY_DIR} /ObjectBoxGenerator-download/${ObjectBoxGenerator_FETCH_VERSION} /fetch)
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import (
3535)
3636
3737// Version specifies the current generator version.
38- const Version = "4.0.0-beta "
38+ const Version = "4.0.0"
3939
4040// VersionId specifies the current generator version identifier.
4141// It is used to validate generated code compatibility and is increased when there are changes in the generated code.
You can’t perform that action at this time.
0 commit comments