From 5e4686c30fb6fd3764717dc08dddddcf391c9b5e Mon Sep 17 00:00:00 2001 From: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com> Date: Wed, 22 Jan 2020 00:34:04 -0800 Subject: [PATCH] Add vcpkg installation instructions --- docs/building.rst | 14 ++++++++++++++ docs/hunspell/libtorrent.dic | 1 + 2 files changed, 15 insertions(+) diff --git a/docs/building.rst b/docs/building.rst index 51322b5ae..49f2851fa 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -481,6 +481,20 @@ If you enabled test in the configuration step, to run them, run:: ctest -j8 +building with VCPKG +------------------- + +You can download and install libtorrent using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:: + + git clone https://github.com/Microsoft/vcpkg.git + cd vcpkg + ./bootstrap-vcpkg.sh + ./vcpkg integrate install + ./vcpkg install libtorrent + +The libtorrent port in vcpkg is kept up to date by Microsoft team members and community contributors. +If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. + building with other build systems --------------------------------- diff --git a/docs/hunspell/libtorrent.dic b/docs/hunspell/libtorrent.dic index a0df75527..535e2571c 100644 --- a/docs/hunspell/libtorrent.dic +++ b/docs/hunspell/libtorrent.dic @@ -554,3 +554,4 @@ fastresume InternetGatewayDevice netmask fe80 +vcpkg