-
-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SCons] Unify tools/target build type configuration #867
Conversation
I haven't checked the PR in detail yet but this seems wrong to me. Upstream And this is used throughout core code so code ported from upstream Godot should keep the same convention. |
Ah, my bad, I thought it was an extension specific define. I reverted the commit. |
de29a38
to
a746843
Compare
a746843
to
b4ea6e1
Compare
test/demo/bin/libgdexample.osx.template_debug.framework/Resources/Info.plist
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good, left a few comments.
d3401a6
to
4dad7f4
Compare
Now matches Godot `master` target names and supports the same flags with the following notable exceptions: - The default target is "template_debug", since it's compatible with editor builds (and TOOLS_ENABLED is never used internally). - separate_debug_symbols is still not supported, and will be done in a separate commit.
4dad7f4
to
64b2c9b
Compare
Thanks! |
In relation to this issue: codecat/godot-tbloader#36 Has anything changed that might cause |
This PR tries to unify godot-cpp scons builds with upstream godot + godotengine/godot#66242 .
Some notes and differences:
editor
andtemplate_debug
builds are interchangeable from the library perspective, but might be different in your own library.The default target is for this reason
template_debug
.You can target both by just using the
debug
feature tag in thegdextension
file.You can target each specifically via the
editor
andstandalone.debug
feature tags.editor
builds have the extraTOOLS_ENABLED
define (unused by the library itself).separate_debug_symbols
is missing.Draft status:
Will open a separate PR.separate_debug_symbols
is missing.demoI think it's good for now. We can always change this latergdextension
usestemplate-debug
targets for botheditor
andtemplate-debug
(do we want to split them?).SCons: Unify tools/target build type configuration godot#66242Merged.consolidateLike above, can be done later.standalone.debug
totemplate.debug
upstream?