Guide
https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/gdextension_cpp_example.html
Setup
- Install SCons
pip install scons
- Grab the sconstruct file
git clone https://github.com/godotengine/godot-cpp.git
git switch 4.5 # or whatever version is most recent
git switch