Updated README.md with C++ instructions

This commit is contained in:
MartinOpat 2025-11-23 00:03:25 +01:00
parent 52ae094087
commit a4d062ea04
1 changed files with 24 additions and 1 deletions

View File

@ -1,2 +1,25 @@
# notSpore
# Evolve Die Repeat TODO: The name is a work in progress
This is currently quite empty.
## C++ setup
From anywhere in proejct:
```bash
git submodule update --init --recursive
```
In `thirdparty`:
```bash
godot --headless --dump-extension-api
```
To compile the cpp extension, run this from `thirdparty/godot-cpp`:
```bash
scons platform=linux target=template_debug generate_bindings=yes custom_api_file=../extension_api.json -j8
```
Finally, to compile and extern local `.cpp` files, run this from `thirdparty`:
```bash
scons platform=linux target=template_debug -j8
```