From fb802575d7a8c37b5a3be00164f9c65c3f9241d1 Mon Sep 17 00:00:00 2001 From: Lily Wang <494550702@qq.com> Date: Fri, 9 Sep 2022 01:22:17 -0700 Subject: [PATCH] Add vcpkg installation instructions --- docs/COMPILE.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/COMPILE.md b/docs/COMPILE.md index c2e475d5..ad16bcdf 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -128,3 +128,17 @@ mkdir build; cd build cmake .. -DCMAKE_C_COMPILER=gcc-arm-linux-gnueabihf make ``` + +## Building from vcpkg + +The Unicorn port in vcpkg is kept up to date by Microsoft team members and community contributors. The url of vcpkg is: https://github.com/Microsoft/vcpkg . You can download and install unicorn using the vcpkg dependency manager: + +```bash +git clone https://github.com/Microsoft/vcpkg.git +cd vcpkg +./bootstrap-vcpkg.sh # ./bootstrap-vcpkg.bat for Windows +./vcpkg integrate install +./vcpkg install unicorn +``` + +If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.