@@ -42,12 +42,15 @@ so formatting is done before your changes are submitted.
4242
4343## Getting Started
4444
45- It's a bit similar to what it was for 3.x but also a bit different. This new approach is much more akin to how core Godot modules are structured.
45+ It's a bit similar to what it was for 3.x but also a bit different.
46+ This new approach is much more akin to how core Godot modules are structured.
4647
4748Compiling this repository generates a static library to be linked with your shared lib,
4849just like before.
4950
50- To use the shared lib in your Godot project you'll need a ` .gdextension ` file, which replaces what was the ` .gdnlib ` before. Follow the example:
51+ To use the shared lib in your Godot project you'll need a ` .gdextension `
52+ file, which replaces what was the ` .gdnlib ` before.
53+ Follow [ the example] ( test/demo/example.gdextension ) :
5154
5255``` ini
5356[configuration]
@@ -56,15 +59,17 @@ entry_symbol = "example_library_init"
5659
5760[libraries]
5861
59- linux.64.debug = " bin/libgdexample.linux.debug.64.so"
60- linux.64.release = " bin/libgdexample.linux.release.64.so"
61- windows.64.debug = " bin/libgdexample.windows.debug.64.dll"
62- windows.64.release = " bin/libgdexample.windows.release.64.dll"
63- macos.debug = " bin/libgdexample.debug.framework"
64- macos.release = " bin/libgdexample.release.framework"
62+ macos.debug = " bin/libgdexample.osx.debug.framework"
63+ macos.release = " bin/libgdexample.osx.release.framework"
64+ windows.debug.x86_64 = " bin/libgdexample.windows.debug.x86_64.dll"
65+ windows.release.x86_64 = " bin/libgdexample.windows.release.x86_64.dll"
66+ linux.debug.x86_64 = " bin/libgdexample.linux.debug.x86_64.so"
67+ linux.release.x86_64 = " bin/libgdexample.linux.release.x86_64.so"
68+ # Repeat for other architectures to support arm64, rv64, etc.
6569```
6670
67- The ` entry_symbol ` is the name of the function that initializes your library. It should be similar to following layout:
71+ The ` entry_symbol ` is the name of the function that initializes
72+ your library. It should be similar to following layout:
6873
6974``` cpp
7075extern "C" {
0 commit comments