Conversation
…s compatible with.
|
The target is part of the compatibility (i.e. template_release is not compatible with engine template_debug builds, and vice versa, although the editor and template_debug are compatible with each other). Likewise, threads/nothreads builds are incompatible with nothreads/threads web build (the main case where the nothreads build makes sense). Similarly, |
Ok, good to know. I got tricked by the editor being compatible with
I looked through the source code, and setting the flag only seems to pass But all in all, this changes things, obviously, simply making I'm closing this PR to tackle it from the other side instead. Thanks for clearing things up! |
I use this scheme in my own GDExtension - I want my object to be named not by how it's optimized (e.g. template_debug vs template_release, or if it's a dev build), but just by what it's compatible with.
This PR should change no behavior for existing builds, but it does add the option for custom SConstructs to use
env["compatibility_suffix"]instead ofenv["suffix]for naming binaries.Here's what the test .gdextension entries would look like adopting this scheme instead (just for illustrative purposes):
(note that macos and iOS happen to have no change right now, due to not using
env["suffix"]anyway, but it would use the same name even if it usedenv["compatibility_suffix"])