You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xinlei Wang edited this page Nov 6, 2023
·
8 revisions
Windows 10/11
mkdir build && cd build
cmake .. -G "Ninja" -A x64
cmake --build . --parallel 4 --config Release
Tested msvc2019, msvc2022, msvc2019-cl and msvc2022-cl
Add -DCMAKE_TOOLCHAIN_FILE=<PATH_TO_VCPKG>\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows if using vcpkg as the cpp package manager.
Or open "x64 Native Tools Command Prompt for VS 2022", enter
mkdir build && cd build && cmake .. -A x64
cmake --build . --parallel 4 --config Release