Initialize our godot fork
https://github.com/godotengine/godot
https://github.com/qiekn-games/mydot
cd /e/dev/mydot
git init
git remote add upstream <https://github.com/godotengine/godot.git>
git fetch upstream 4.6
git checkout -b 4.6 upstream/4.6
git remote add origin [email protected]:qiekn-games/mydot.git
git push -u origin 4.6
https://docs.godotengine.org/en/latest/engine_details/development/compiling/ (latest)
https://docs.godotengine.org/en/stable/engine_details/development/compiling/ (stable)
看了下文档。它还想着我们 MSYS2 UCRT64 用户呢,太感动了。
pacman -Syu
pacman -S \
git \
make \
unzip \
mingw-w64-ucrt-x86_64-clang \
mingw-w64-ucrt-x86_64-clang-tools-extra \
mingw-w64-ucrt-x86_64-python \
mingw-w64-ucrt-x86_64-scons \
mingw-w64-ucrt-x86_64-pkgconf

scons platform=windows \
arch=x86_64 use_mingw=yes use_llvm=yes \
dev_build=yes \
d3d12=no \
-j16

虽然但是,C++ 编译时间始终那么感人….