Skip to content

Commit

Permalink
Use relative paths for the .gdextension file such that the extensio…
Browse files Browse the repository at this point in the history
…n can be placed in any folder.
  • Loading branch information
Ivorforce committed Feb 4, 2025
1 parent f9a50b5 commit dede668
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions demo/bin/example.gdextension
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ entry_symbol = "example_library_init"
compatibility_minimum = "4.1"

[libraries]

macos.debug = "res://bin/macos/macos.framework/libEXTENSION-NAME.macos.template_debug"
macos.release = "res://bin/macos/macos.framework/libEXTENSION-NAME.macos.template_release"
ios.debug = "res://bin/ios/ios.framework/libEXTENSION-NAME.ios.template_debug"
ios.release = "res://bin/ios/ios.framework/libEXTENSION-NAME.ios.template_release"
windows.debug.x86_32 = "res://bin/windows/libEXTENSION-NAME.windows.template_debug.x86_32.dll"
windows.release.x86_32 = "res://bin/windows/libEXTENSION-NAME.windows.template_release.x86_32.dll"
windows.debug.x86_64 = "res://bin/windows/libEXTENSION-NAME.windows.template_debug.x86_64.dll"
windows.release.x86_64 = "res://bin/windows/libEXTENSION-NAME.windows.template_release.x86_64.dll"
linux.debug.x86_64 = "res://bin/linux/libEXTENSION-NAME.linux.template_debug.x86_64.so"
linux.release.x86_64 = "res://bin/linux/libEXTENSION-NAME.linux.template_release.x86_64.so"
linux.debug.arm64 = "res://bin/linux/libEXTENSION-NAME.linux.template_debug.arm64.so"
linux.release.arm64 = "res://bin/linux/libEXTENSION-NAME.linux.template_release.arm64.so"
linux.debug.rv64 = "res://bin/linux/libEXTENSION-NAME.linux.template_debug.rv64.so"
linux.release.rv64 = "res://bin/linux/libEXTENSION-NAME.linux.template_release.rv64.so"
android.debug.x86_64 = "res://bin/android/libEXTENSION-NAME.android.template_debug.x86_64.so"
android.release.x86_64 = "res://bin/android/libEXTENSION-NAME.android.template_release.x86_64.so"
android.debug.arm64 = "res://bin/android/libEXTENSION-NAME.android.template_debug.arm64.so"
android.release.arm64 = "res://bin/android/libEXTENSION-NAME.android.template_release.arm64.so"
; Relative paths ensure that our GDExtension can be placed anywhere in the project directory.
macos.debug = "./macos/macos.framework/libEXTENSION-NAME.macos.template_debug"
macos.release = "./macos/macos.framework/libEXTENSION-NAME.macos.template_release"
ios.debug = "./ios/ios.framework/libEXTENSION-NAME.ios.template_debug"
ios.release = "./ios/ios.framework/libEXTENSION-NAME.ios.template_release"
windows.debug.x86_32 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_32.dll"
windows.release.x86_32 = "./windows/libEXTENSION-NAME.windows.template_release.x86_32.dll"
windows.debug.x86_64 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_64.dll"
windows.release.x86_64 = "./windows/libEXTENSION-NAME.windows.template_release.x86_64.dll"
linux.debug.x86_64 = "./linux/libEXTENSION-NAME.linux.template_debug.x86_64.so"
linux.release.x86_64 = "./linux/libEXTENSION-NAME.linux.template_release.x86_64.so"
linux.debug.arm64 = "./linux/libEXTENSION-NAME.linux.template_debug.arm64.so"
linux.release.arm64 = "./linux/libEXTENSION-NAME.linux.template_release.arm64.so"
linux.debug.rv64 = "./linux/libEXTENSION-NAME.linux.template_debug.rv64.so"
linux.release.rv64 = "./linux/libEXTENSION-NAME.linux.template_release.rv64.so"
android.debug.x86_64 = "./android/libEXTENSION-NAME.android.template_debug.x86_64.so"
android.release.x86_64 = "./android/libEXTENSION-NAME.android.template_release.x86_64.so"
android.debug.arm64 = "./android/libEXTENSION-NAME.android.template_debug.arm64.so"
android.release.arm64 = "./android/libEXTENSION-NAME.android.template_release.arm64.so"

0 comments on commit dede668

Please sign in to comment.