Current only config the env for the Window with Visual studio 2022 x64.
- Install vcpkg
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat # on Windows
bootstrap-vcpkg.sh # on Linux
- Install Boost and lib with Vcpkg
# boost library
.\vcpkg.exe install boost:x64-windows
# boost dependency injectoion library
.\vcpkg.exe install bext-di:x64-windows
# google test
.\vcpkg.exe install gtest:x64-windows
- Add the Env into your PC
e.g.
VCPKG_ROOT = F:\XXXX\XXX\vcpkg
-
Update CMakeList.json Ctrl + Shift + B
-
Build the project F7 and run