summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-01-24 07:46:25 +0800
committerWouter van Oortmerssen <aardappel@gmail.com>2020-01-23 15:46:25 -0800
commitbab2b0db48892639d6a548414481991d81d6e611 (patch)
tree0d3596e30f7d53ae44f4b73915c2a8a34c604ca1 /docs
parent89418eb848945d6e833698153a7a13f5b53e110b (diff)
downloadflatbuffers-bab2b0db48892639d6a548414481991d81d6e611.tar.gz
flatbuffers-bab2b0db48892639d6a548414481991d81d6e611.tar.bz2
flatbuffers-bab2b0db48892639d6a548414481991d81d6e611.zip
Add vcpkg installation instructions (#5732)
* Add vcpkg installation instructions * Update comments
Diffstat (limited to 'docs')
-rw-r--r--docs/source/Building.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/source/Building.md b/docs/source/Building.md
index a8967110..ad9e972b 100644
--- a/docs/source/Building.md
+++ b/docs/source/Building.md
@@ -29,6 +29,19 @@ Building should also produce two sample executables, `flatsamplebinary` and
*Note that you MUST be in the root of the FlatBuffers distribution when you
run 'flattests' or `flatsampletext`, or it will fail to load its files.*
+## Building with VCPKG
+
+You can download and install flatbuffers 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 flatbuffers
+
+The flatbuffers 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 for Android
There is a `flatbuffers/android` directory that contains all you need to build