Updated README.md with C++ instructions
This commit is contained in:
25
README.md
25
README.md
@@ -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
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user