- Google Benchmark: https://github.com/google/benchmark
- Vcpkg: https://github.com/microsoft/vcpkg
Windows
vcpkg install benchmark --triplet x64-windows-static-md
(Optional)
vcpkg install boost-tokenizer --triplet x64-windows-static-md
vcpkg install boost-utility --triplet x64-windows-static-md
Linux
vcpkg install benchmark
(Optional)
vcpkg install boost-tokenizer
vcpkg install boost-utility
Point VCPKG_ROOT env variable to where vcpkg is installed (root) (Windows and Linux)
Alternative method is to set it inside CMakePresets.json
"environment":
{
"VCPKG_ROOT": "PATH"
}
replace PATH
one for each OS base preset