You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Full copy of the source code. Remember to use `git clone --recursive`, or initialize submodules with `git submodule update --init`.
21
+
-[SCons](https://scons.org/pages/download.html) (v3.1.2+), CMake, and Perl.
24
22
- C++17 and C90 compilers detectable by SCons and present in `PATH`.
25
-
- Platforms Specific Setup
26
-
- Windows
27
-
- No extra steps required other than setting up the compilers.
28
-
- MacOS
29
-
- For making universal builds targeting both Apple Silicon and x86_64, you can optionally run `build_openssl_universal_macos.sh` to build OpenSSL yourself and replace the already prebuilt libraries provided inside `thirdparty/openssl/`, otherwise, just run `brew install openssl@1.1` to use the prebuilt libraries provided in this repository.
30
-
- Linux
31
-
- Run `sudo apt-get install libssl-dev`, or your local package manager's equivalent.
32
23
33
-
### Release Build
24
+
### Release build
34
25
35
26
```
36
-
scons platform=<platform> target=editor -j 6
27
+
scons platform=<platform> target=editor
37
28
```
38
29
39
-
> You may get the gdextension dump yourself from Godot using the instructions in the next section, or use the ones provided in `godot-cpp/gdextension` or `ci/`.
30
+
> You may get the GDExtension dump yourself from Godot using the instructions in the next section, or use the ones provided in `godot-cpp`.
40
31
41
32
For more build options, run `scons platform=<platform> -h`
42
33
@@ -49,19 +40,18 @@ If you need to use a custom GDExtension API:
49
40
1. Dump the new bindings from the custom Godot build.
> You only need to build godot-cpp once every change in the GDExtension API, hence, `generate_bindings=yes` should only be passed in during the first time after generating a new GDExtension API dump.
63
53
64
-
3.Open the project provided inside `demo/` in the custom Godot build.
54
+
3.To test the plugin, set up a testing project with Godot, and copy or symlink the `addons` folder.
65
55
66
56
To view more options available while recompiling godot-git-plugin, run `scons platform=<platform> -h`.
0 commit comments