From 009b3ce1dad6f02cc5605b2e22968068bc9e746b Mon Sep 17 00:00:00 2001 From: wangli28 Date: Mon, 30 Mar 2020 08:56:53 +0000 Subject: Add vcpkg installation instructions --- docs/BUILD_CROSSCOMPILE.adoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/BUILD_CROSSCOMPILE.adoc b/docs/BUILD_CROSSCOMPILE.adoc index c943f173..01b7ea87 100644 --- a/docs/BUILD_CROSSCOMPILE.adoc +++ b/docs/BUILD_CROSSCOMPILE.adoc @@ -35,3 +35,15 @@ More details for Android are located in the <> file. == Cross-compiling for iOS More details for iOS (and tvOS, etc.) are located in the <> file. + +== Building nng for Windows or Linux or MACOS - Using vcpkg + +You can download and install nng 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 nng + +The nng 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. -- cgit v1.2.3-70-g09d2