Repository navigation
godot-cpp: update from 4.5 to 10.0.0 - #2989
Open
SilvoSposetti wants to merge 1 commit into
Open
SilvoSposetti wants to merge 1 commit into
SilvoSposetti wants to merge 1 commit into
Conversation
SilvoSposetti
force-pushed
the
UpdateGodotCppTo10
branch
2 times, most recently
from
November 5, 2026 12:17
8d3f76e to
3b62c59
Compare
SilvoSposetti
force-pushed
the
UpdateGodotCppTo10
branch
from
November 5, 2026 12:21
3b62c59 to
28417f4
Compare
Contributor
Author
|
It turned out I had formatting errors in the initial quick checks and running the formatter locally pointed out a non-formatting compliant line in the root meson.build of the repository. I simply ran |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
godot-cpp version
4.5-stablewas the last version where godot-cpp and Godot were released with matching major and minor versions. Now the two are versioned independently, with godot-cpp10.0.0-stablebeing able to generate bindings for Godot versions from4.3to4.7.What I changed:
A new combo option (
api_version) has been added to select the target Godot version for which bindings need to be generated. Default value is the latest (4.7).The option related to floating point precision (
precision) has been removed.Now generation is only for
singleprecision, because:singleprecision. This was also true for at least the previous version of this wrap. Building that withdoubleprecision resulted in a generation error.singleprecision only. If anyone wants double precision they need to compile the whole editor with double precision.doubleprecision would require:doubleprecision.double-version of the json files needs to be generated with{double_precision_built_godot_exe} --dump-extension-api --dump-gdextension-interface-json.As this would have been quite involved for a simple wrap I opted to simply remove the (not working) option and support only the officially-released and pre-built
singleprecision editor.Other changes:
godot-cpp-godot-{version}.tar.gztogodot-cpp-{version}.tar.gz.I've tested with latest gcc (16.2.1) and clang (23.1.4), and on the default warning level of
1compilation did not produce any warnings.meson_README.md.