Custom overlay configuration for vcpkg.
Clone vcpkg-overlay
in the subdirectory script/vcpkg
of your repository.
git clone https://github.com/Do-sth-sharp/vcpkg-overlay.git scripts/vcpkg
Make configuration file vcpkg.json
in subdirectory scripts/vcpkg-manifest
.
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"some-depencency"
],
"vcpkg-configuration": {
"overlay-ports": [
"../vcpkg/ports"
],
"overlay-triplets": [
"../vcpkg/triplets"
]
}
}
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
vcpkg install --x-manifest-root=../scripts/vcpkg-manifest --x-install-root=./installed --triplet=x64-windows
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg install \
--x-manifest-root=../scripts/vcpkg-manifest \
--x-install-root=./installed \
--triplet=<triplet>
# triplet:
# Mac: `x64-osx` or `arm64-osx`
# Linux: `x64-linux` or `arm64-linux`