Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (18 loc) · 730 Bytes

CONTRIBUTING.md

File metadata and controls

29 lines (18 loc) · 730 Bytes

Building

  1. Clone the git repository, including its submodules.

  2. Open a terminal application and change its working directory to the godot-box2d git repository.

  3. Compile godot-cpp for the desired target (template_debug or template_release):

    cd godot-cpp
    scons target=template_debug generate_bindings=yes
    
  4. 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.

How to update submodule

git submodule sync
git submodule update --recursive --remote
git submodule foreach git pull

Lint

Run scripts/clang-tidy.sh in order to lint.