summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-07-01 19:43:42 +0200
committerGitHub <noreply@github.com>2023-07-01 19:43:42 +0200
commit6e2262b6c33bd0fa2cb67ff6d4a2f360f0c15913 (patch)
tree20c0c99c5217792e054f876712a54ae8b4f1eec8 /README.md
parentd278661d767f5e1f8f68af2d0a706f5f044aa5d3 (diff)
parentcb2be8723a16f9fdb13582562cb630c945dcd0a7 (diff)
downloadfork-godot-webrtc-native-6e2262b6c33bd0fa2cb67ff6d4a2f360f0c15913.tar.gz
fork-godot-webrtc-native-6e2262b6c33bd0fa2cb67ff6d4a2f360f0c15913.tar.bz2
fork-godot-webrtc-native-6e2262b6c33bd0fa2cb67ff6d4a2f360f0c15913.zip
Merge pull request #113 from Faless/spike/4.1
Support building for Godot 4.1 (new default).
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 458f399..676048c 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ $ git submodule update --init --recursive
### Compiling the extension.
-To build the GDExtension version of the plugin (Godot 4.0) run the following command from the `webrtc-native` folder:
+To build the GDExtension version of the plugin (Godot 4.1+) run the following command from the `webrtc-native` folder:
```
$ scons platform=<your platform>
@@ -29,6 +29,12 @@ $ scons platform=<your platform>
This will build all the required dependencies into a single shared library.
+To build the "legacy" GDExtension version of the plugin (Godot 4.0) run the following command instead:
+
+```
+$ scons platform=<your platform> godot_version=4.0
+```
+
To build the GDNative version of the plugin (Godot 3.x) run the following command instead:
```