Open follower opened 4 years ago
See also https://github.com/godotengine/godot-docs/pull/5744. We are discussing what to do for the 3.x
branch and whether it's worth trying to support multiple minor versions with a single compiled add-on, but it doesn't seem to be feasible or worth it.
TL;DW:
It would be useful/nice to have:
A
godot-cpp
-specific version#define
or similar that could be used to conditionally include different code when building with different branches, especially in situations likeRef<>
where workarounds that were required in earlier versions cause crashes in later versions. (See: #417)Significant
godot-cpp
fixes (like theRef<>
one above) back-ported from 3.2 to 3.1 so that in many cases one code-base can support both Godot 3.1 & 3.2. (Or, prioritize 3.1 and forward-port to 3.2.)Update: It seems like the
Ref<>
issue is compatible with earlier versions also.Versioning, back-porting, version-detection & forward/backward compatibility
Back-porting to branches of
godot-cpp
specific fixes/improvements.Compile-time version detection
Run-time version detection
Maybe in:
Related:
[WIP]