update: README.md
This commit is contained in:
parent
ef5835687e
commit
40f9062682
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue