From e3b1a8b5c32d4f6c98cdf94182474dd471887fe9 Mon Sep 17 00:00:00 2001 From: grdowns Date: Fri, 27 Sep 2019 06:23:13 -0700 Subject: [PATCH] Add vcpkg installation instructions --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 5a8eeeefc..b1f58836f 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,22 @@ libffi-discuss@sourceware.org. Installing libffi ================= +Package Manager Installation +---------------------------- + +You can download and install libffi 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 libffi + +The libffi 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. + +Manual Installation +------------------- + First you must configure the distribution for your particular system. Go to the directory you wish to build libffi in and run the "configure" program found in the root directory of the libffi source