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

.gdextension platforms questions #6

Open
asmaloney opened this issue Dec 7, 2022 · 1 comment
Open

.gdextension platforms questions #6

asmaloney opened this issue Dec 7, 2022 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@asmaloney
Copy link
Owner

I can't find any detailed docs about the .gdextension file, so I'm not 100% clear what needs to be in here.

Right now I use the following in the libraries section which works for me so far on macOS:

linux.debug.x86_64 = lib/Linux-x86_64/lib${PROJECT_NAME}-d.so
linux.release.x86_64 = lib/Linux-x86_64/lib${PROJECT_NAME}.so
macos.debug.x86_64 = "lib/Darwin-x86_64/lib${PROJECT_NAME}-d.dylib"
macos.release.x86_64 = "lib/Darwin-x86_64/lib${PROJECT_NAME}.dylib"
windows.debug.x86_64 = "lib/Windows-AMD64/${PROJECT_NAME}-d.dll"
windows.release.x86_64 = "lib/Windows-AMD64/${PROJECT_NAME}.dll"
  1. What is the list of acceptable platforms here?
  2. If I have both debug and release as above, how does the engine choose which one to use? Is it dependant on the Godot build itself?
@asmaloney asmaloney added help wanted Extra attention is needed question Further information is requested labels Dec 7, 2022
@feserr
Copy link

feserr commented Oct 25, 2023

Here are the ones at the documentation:

[configuration]

entry_symbol = "example_library_init"
compatibility_minimum = "4.1"

[libraries]

macos.debug = "res://bin/libgdexample.macos.template_debug.framework"
macos.release = "res://bin/libgdexample.macos.template_release.framework"
windows.debug.x86_32 = "res://bin/libgdexample.windows.template_debug.x86_32.dll"
windows.release.x86_32 = "res://bin/libgdexample.windows.template_release.x86_32.dll"
windows.debug.x86_64 = "res://bin/libgdexample.windows.template_debug.x86_64.dll"
windows.release.x86_64 = "res://bin/libgdexample.windows.template_release.x86_64.dll"
linux.debug.x86_64 = "res://bin/libgdexample.linux.template_debug.x86_64.so"
linux.release.x86_64 = "res://bin/libgdexample.linux.template_release.x86_64.so"
linux.debug.arm64 = "res://bin/libgdexample.linux.template_debug.arm64.so"
linux.release.arm64 = "res://bin/libgdexample.linux.template_release.arm64.so"
linux.debug.rv64 = "res://bin/libgdexample.linux.template_debug.rv64.so"
linux.release.rv64 = "res://bin/libgdexample.linux.template_release.rv64.so"
android.debug.x86_64 = "res://bin/libgdexample.android.template_debug.x86_64.so"
android.release.x86_64 = "res://bin/libgdexample.android.template_release.x86_64.so"
android.debug.arm64 = "res://bin/libgdexample.android.template_debug.arm64.so"
android.release.arm64 = "res://bin/libgdexample.android.template_release.arm64.so"```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants