Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 414 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 414 Bytes

Vcpkg Example

This is an example repository for how one might use vcpkg in the future.

Building

Assuming you have VCPKG_ROOT in your environment variables, the following will work in sh:

$ cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
$ cmake --build build

Change out the environment variable syntax for each system, and this should work everywhere.