mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-04 20:21:11 +00:00
Add vcpkg installation instructions (#5732)
* Add vcpkg installation instructions * Update comments
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
89418eb848
commit
bab2b0db48
@@ -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
|
*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.*
|
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
|
## Building for Android
|
||||||
|
|
||||||
There is a `flatbuffers/android` directory that contains all you need to build
|
There is a `flatbuffers/android` directory that contains all you need to build
|
||||||
|
|||||||
Reference in New Issue
Block a user