fix build steps

This commit is contained in:
2026-06-07 23:00:52 +08:00
parent 7b42a6be63
commit b6b0712b31
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,11 +19,11 @@ if grep -q "LEANCLR_FATAL_ON_RAISE_NOT_IMPLEMENTED_ERROR 1" \
thirdparty/leanclr/src/runtime/build_config.h
fi
# Configure CMake (first pass — fetches godot-cpp via FetchContent).
cmake -S . -B build-master -DCMAKE_BUILD_TYPE=Debug
# Generate bindings (needs the just-fetched extension_api.json).
python3 tools/binding_generator/generate_bindings.py \
--api build-master/_deps/godot-cpp-src/gdextension/extension_api.json
# Configure CMake (first pass — fetches godot-cpp via FetchContent).
cmake -S . -B build-master -DCMAKE_BUILD_TYPE=Debug
# Re-configure so add_library sees the generated cpp, then build.
cmake -S . -B build-master -DCMAKE_BUILD_TYPE=Debug
cmake --build build-master --config Debug --target leanclr_godot