Skip to content

Commit

Permalink
build: allow git cloning a tag on godot-cpp instead of tracking HEAD …
Browse files Browse the repository at this point in the history
…of the branch

BEWARE: if tracking godot-4.2.2-stable and using scons 4.8, you will
have this error "NameError: name 'BoolVariable' is not defined:". You
probably have to follow the HEAD of the 4.2 for now.
  • Loading branch information
Lecrapouille committed Jul 20, 2024
1 parent cb529eb commit f1c2947
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/gdcef/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
# Do not use version 4.1 since gdextension is probably not compatible.
# Do not use version 3.4 or 3.5 with this current gdcef git branch. Please git
# checkout gdcef to its branch godot-3.x.
GODOT_VERSION = "4.2.2" # or "4.2"
# Tag "godot-xxx-stable" on https://github.com/godotengine/godot-cpp
# Else you can use the HEAD of your desired branch (i.e. "4.2")
GODOT_CPP_GIT_TAG = "godot-" + GODOT_VERSION + "-stable" # or GODOT_VERSION
GODOT_VERSION = "4.2" # or "4.2.2" for tag
# Use "godot-<version>-stable" for a tag on https://github.com/godotengine/godot-cpp
# Else "<version>" to track the HEAD of your desired branch version (i.e. "4.2")
GODOT_CPP_GIT_TAG = GODOT_VERSION # or "godot-" + GODOT_VERSION + "-stable"
# Compilation mode for the thirdpart CEF
CEF_TARGET = "Release" # or "Debug"
# Compilation mode for the thirdpart godot-cpp
Expand Down

0 comments on commit f1c2947

Please sign in to comment.