个人 C++23 工程模板,使用 xmake,默认 Clang,亦可切换 GCC。
git config core.hooksPath .githooks
xmake f -c -y --toolchain=clang
xmakexmake run appxmake formatxmake check完整检查包含 clang-format、clang-tidy、重新构建和 doctest,且不会修改 tracked 文件。
单独运行测试:
xmake test基于此模板建立具体项目后,请按实际项目重写 README 和 AGENTS.md。
Apache-2.0