Skip to content
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

Merge GDExtension into a single implementation #83

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

m4gr3d
Copy link
Collaborator

@m4gr3d m4gr3d commented Feb 1, 2024

Move all the gdextension logic into the common directory so to share the same functionality across all vendors.

For the editor, this enables a single scons build file and a single gdextension that can be loaded by the editor.

For Android vendor platforms, we still maintains separate cmake build files which allows to omit / include platform specific dependencies via pre-processor directives in order to generate platform specific shared libraries, which are included in platform specific AAR binaries.

Fixes #70

@m4gr3d m4gr3d added the enhancement New feature or request label Feb 1, 2024
@m4gr3d m4gr3d added this to the 3.0.0 milestone Feb 1, 2024
@m4gr3d m4gr3d force-pushed the single_gdextension branch 4 times, most recently from 8ad906c to 342b327 Compare February 2, 2024 05:05
Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me! The only note I have is a naming one, but since we're not releasing this version super soon (at least that's my impression) I think it'd probably be fine to merge this as-is and adjust the name in another PR, if needed.

SConstruct Outdated Show resolved Hide resolved
@m4gr3d m4gr3d force-pushed the single_gdextension branch 5 times, most recently from 831c8e0 to 2c455ca Compare February 3, 2024 20:49
Move all the gdextension logic intom the `common` directory so to share the same functionality across all vendors.

For the editor, this enables a single `scons` build file and a single gdextension that can be loaded by the editor.

For Android vendor platforms, we still maintains separate `cmake` build files which allows to omit / include platform specific dependencies via pre-processor directives in order to generate platform specific shared libraries, which are included in platform specific AAR binaries.
@dsnopek
Copy link
Collaborator

dsnopek commented Feb 3, 2024

I just built and tested this locally and it seems to be working great!

@m4gr3d
Copy link
Collaborator Author

m4gr3d commented Feb 3, 2024

I just built and tested this locally and it seems to be working great!

Thanks! I'll go ahead and merge the changes.

@BastiaanOlij Feel free to add any comments / feedback if you have any and I'll address them in a follow-up PR.

@m4gr3d m4gr3d merged commit c389f75 into GodotVR:master Feb 3, 2024
6 checks passed
@m4gr3d m4gr3d deleted the single_gdextension branch February 3, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge GDExtension into a single implementation
2 participants