Skip to content

Commit

Permalink
readme: adjust cmake commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Mairon1206 committed Jul 29, 2024
1 parent bd0db77 commit 9679061
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,19 @@ git clone --recursive https://github.com/NJUPT-SAST/sast-evento.git

- 构建

Windows Cmd:
```shell
cmake -B build -DCMAKE_TOOLCHAIN_FILE="%VCPKG_ROOT%/scripts/buildsystems/vcpkg.cmake"
cmake --build build
```
Windows Powershell:
```shell
cd sast-evento
mkdir build
cmake -B build -DCMAKE_TOOLCHAIN_FILE="$Env:VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake"
cmake --build build
```
Linux & MacOS & Windows Cmd:
Linux & MacOS:
```shell
cd sast-evento
mkdir build
cmake -B build -DCMAKE_TOOLCHAIN_FILE="%VCPKG_ROOT%/scripts/buildsystems/vcpkg.cmake"
cmake -B build -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake"
cmake --build build
```

Expand All @@ -79,4 +80,5 @@ cmake --build build
- [OpenSSL](https://github.com/openssl/openssl)
- [Slint](https://github.com/slint-ui/slint)
- [Google Test](https://github.com/google/googletest)
- [spdlog](https://github.com/gabime/spdlog)
- [nlohmann-json](https://github.com/nlohmann/json)
- [spdlog](https://github.com/gabime/spdlog)

0 comments on commit 9679061

Please sign in to comment.