From 5e7d86f388ba5d3acda09fdb909074e9d4d8cc39 Mon Sep 17 00:00:00 2001 From: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com> Date: Tue, 31 Mar 2020 00:30:36 -0700 Subject: [PATCH] Add vcpkg installation instructions --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index a08aa0e909..4287e76ba1 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,17 @@ Then in your `.c` file you can #include the generated header: /* Insert code that uses generated types. */ ``` +Alternatively, you can build and install upb using [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 upb + +The upb 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. + ## Old "handlers" interfaces This library contains several semi-deprecated interfaces (see BUILD