summaryrefslogtreecommitdiff
path: root/plugins/hello_gdextension
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hello_gdextension')
-rw-r--r--plugins/hello_gdextension/README.md4
-rw-r--r--plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt2
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/hello_gdextension/README.md b/plugins/hello_gdextension/README.md
index c7bd3aa..d3742fe 100644
--- a/plugins/hello_gdextension/README.md
+++ b/plugins/hello_gdextension/README.md
@@ -20,7 +20,9 @@ git submodule update --init
### Building the C++ bindings
-To generate and compile the C++ bindings, use the following commands:
+To generate and compile the C++ bindings, use the following commands. To speed up compilation,
+add `-jN` at the end of the SCons command line where `N` is the number of CPU threads you have
+on your system. The example below uses 4 threads.
```
cd Godot-Android-Samples/plugins/hello_gdextension/godot-cpp
diff --git a/plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt b/plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt
index 85a28ab..ed220ca 100644
--- a/plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt
+++ b/plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt
@@ -40,7 +40,7 @@ class HelloGDExtensionPlugin(godot: Godot) : GodotPlugin(godot) {
override fun getPluginName() = "HelloGDExtension"
- override fun getPluginGDExtensionModulesPaths() = setOf("res://addons/hello_gdextension_plugin/hello_gdextension.gdextension")
+ override fun getPluginGDExtensionLibrariesPaths() = setOf("res://addons/hello_gdextension_plugin/hello_gdextension.gdextension")
private external fun nativeAddGDExampleNode(parentNodePath: String)