update: README.md

This commit is contained in:
TaurusXin 2024-02-16 22:06:58 +08:00
parent ef5835687e
commit 40f9062682
Signed by: taurusxin
GPG Key ID: C334DCA04AC2D2CC
1 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ git submodule update --init --recursive
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -B build
# Windows MSVC
cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -B build
cmake -G "Visual Studio 17 2022" -A x64 -B build
# Linux / macOS
cmake -DCMAKE_BUILD_TYPE=Release -B build
@ -73,8 +73,8 @@ cmake -DCMAKE_BUILD_TYPE=Release -B build
```shell
# Windows MSVC 需要在构建阶段指定 --config Release
cmake --build build --target all -j 8 --config Release
cmake --build build -j 8 --config Release
# Windows MinGW / Linux / macOS
cmake --build build --target all -j 8
cmake --build build -j 8
```