- Python 3
- Scons
- Create a Godot project (let's say under
/home/user/cpp_test
) cd /home/user/cpp_test
git clone --recursive https://github.com/mudlee/godot-cpp.git
cd godot-cpp
pip install -r requirements.txt
- Initialize C++ integration (see below)
This commands compiles the c++ bindings for your platforms.
python gd-cpp.py --platform=osx --cmd=init
Recompiles your c++ code.
python gd-cpp.py --platform=osx --cmd=build
python gd-cpp.py --platform=osx --cmd=add_class --cpp=MyClass
python gd-cpp.py --platform=osx --cmd=rm_class --cpp=MyClass
python gd-cpp.py --platform=osx --cmd=mv_class --cpp=OldClass:NewClass
Source code is released under MIT (see LICENSE).