diff --git a/docs/source/Building.md b/docs/source/Building.md index a89671109..ad9e972be 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