Example of CMake script to build vcpkg itself and installing dependencies automatically.
- make build dir and
cd
into it cmake ..
(or set whatever generator you want)cmake --build .
Pretty simple: git submodule
to clone vcpkg
's repo, then build it and install dependencies via manifest mode (i.e. vcpkg.json
).