Skip to content

Commit 63d72ff

Browse files
authored
Merge pull request #161 from godotengine/update-4.0-rc4
Update extension API to Godot 4.0-rc4
2 parents 820c623 + 6a6f7d1 commit 63d72ff

File tree

7 files changed

+10
-266954
lines changed

7 files changed

+10
-266954
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
run: |
1212
git submodule update --init --recursive
1313
pip3 install --user scons
14-
scons platform=linux target=editor generate_bindings=yes gdextension_dir="../ci/" -j $(nproc)
14+
scons platform=linux target=editor generate_bindings=yes -j $(nproc)
1515
ldd demo/addons/godot-git-plugin/linux/*.so
1616
- uses: actions/upload-artifact@v2
1717
with:
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
git submodule update --init --recursive
3535
pip3 install --user scons
36-
scons platform=windows target=editor generate_bindings=yes gdextension_dir="../ci/" -j $env:NUMBER_OF_PROCESSORS
36+
scons platform=windows target=editor generate_bindings=yes -j $env:NUMBER_OF_PROCESSORS
3737
dumpbin /dependents .\demo\addons\godot-git-plugin\win64\*.dll
3838
- uses: actions/upload-artifact@v2
3939
with:
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
git submodule update --init --recursive
5252
brew install scons
53-
scons platform=macos target=editor generate_bindings=yes gdextension_dir="../ci/" macos_arch=universal use_llvm=yes macos_deployment_target=10.13 -j $(sysctl -n hw.logicalcpu)
53+
scons platform=macos target=editor generate_bindings=yes macos_arch=universal use_llvm=yes macos_deployment_target=10.13 -j $(sysctl -n hw.logicalcpu)
5454
otool -L demo/addons/godot-git-plugin/macos/*.dylib
5555
- uses: actions/upload-artifact@v2
5656
with:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This section onwards is only meant to be used if you intend to compile the plugi
3333
### Release Build
3434

3535
```
36-
scons platform=<platform> target=editor gdextension_dir="../path/to/gdextension/dump/" -j 6
36+
scons platform=<platform> target=editor -j 6
3737
```
3838

3939
> 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/`.
@@ -56,7 +56,7 @@ cd local/copy/of/godot/source
5656
2. Build the plugin along with the godot-cpp library.
5757

5858
```
59-
scons platform=<platform> target=editor generate_bindings=yes dev_build=yes gdextension_dir="path/to/gdextension/dump" -j 6
59+
scons platform=<platform> target=editor generate_bindings=yes dev_build=yes -j 6
6060
```
6161

6262
> 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.

0 commit comments

Comments
 (0)