File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,8 @@ Generated headers and sources are written to the sub-directories ``ObjectBoxGene
127127
128128option (OBX_GENERATOR_ALLOW_FETCH "Opt-in automatic download and prepare for local execution" ON )
129129
130- # Version to download (must be a GitHub release with attached binaries):
131- set (ObjectBoxGenerator_FETCH_VERSION 5.0.0-rc )
130+ # Version to download (must be a GitHub release with attached binaries); also change Version in generator.go
131+ set (ObjectBoxGenerator_FETCH_VERSION 5.0.0-rc2 )
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"
38+ const Version = "5 .0.0-rc2 "
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.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ tmpDir="${repoDir}"/scripts/tmp-generated
1010# Note: we're using objectbox-generator's flatc-integration.
1111# If you can't build objectbox-generator, you can build and use flatbuffers flatc binary instead.
1212flatc=" go run ./cmd/objectbox-generator FLATC"
13+ # flatc="../objectbox-generator FLATC" # You can use this if objectbox-generator was already build locally
1314
1415if [[ " ${repoDir} " == " " ]]; then
1516 echo " Invalid repo directory detected"
You can’t perform that action at this time.
0 commit comments