-
Clone the git repository, including its submodules.
-
Open a terminal application and change its working directory to the
godot-box2d
git repository. -
Compile
godot-cpp
for the desiredtarget
(template_debug
ortemplate_release
):cd godot-cpp scons target=template_debug generate_bindings=yes
-
Compile the GDExtension for the same
target
as above:cd .. scons target=template_debug generate_bindings=no
Note: The template_debug
target can also be loaded in the Godot editor.
git submodule sync
git submodule update --recursive --remote
git submodule foreach git pull
Run scripts/clang-tidy.sh
in order to lint.