git clone
git clone https://github.com/microsoft/vcpkg
.\vcpkg\bootstrap-vcpkg.bat
To install the libraries for your project, run:
.\vcpkg\vcpkg install [packages to install]
./vcpkg install boost --triplet=x64-mingw-dynamic
You can simply use one of the mingw triplets. (x64|x86)-mingw-(dynamic|static), e.g. x64-mingw-dynamic.
You need to tell vcpkg which triplet to use via the following variables:
export VCPKG_DEFAULT_TRIPLET=x64-mingw-dynamic
export VCPKG_DEFAULT_HOST_TRIPLET=x64-mingw-dynamic
https://github.com/microsoft/vcpkg/blob/master/docs/users/mingw.md
versioning
Vcpkg支持任意版本安装问题
vcpkg.exe create openexr3 url