using FetchContent to control lib

This commit is contained in:
2025-12-07 15:51:19 +08:00
parent 77adfc55d4
commit b4551b462b
5 changed files with 61 additions and 23 deletions

View File

@@ -4,7 +4,7 @@
## 构建指南
确保电脑安装了`cmake``ninja`,使用`gcc``g++`
```bash
git clone --recursive https://github.com/zhenyan121/SporeBG-Conid.git
git clone https://github.com/zhenyan121/SporeBG-Conid.git
mkdir build
cd build
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ..