From a4d062ea043754d15655a10f7b9773cdb23962fc Mon Sep 17 00:00:00 2001 From: MartinOpat Date: Sun, 23 Nov 2025 00:03:25 +0100 Subject: [PATCH] Updated README.md with C++ instructions --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b60c504..deeac7f 100644 --- a/README.md +++ b/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 +```