From d54ce932892988794136359082b394a10bf0d9d0 Mon Sep 17 00:00:00 2001 From: Monica Date: Wed, 14 Sep 2022 18:39:33 +0800 Subject: [PATCH] Add vcpkg installation instructions --- docs/usage.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/usage.md b/docs/usage.md index 15d1baae2..c8506bdf1 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -70,6 +70,18 @@ Each package contains different elements. * Development package - contains headers and cmake files to build against libk4a. * Tools package - contains k4aviewer and k4arecorder +## Installing using vcpkg + +You can build and install azure-kinect-sensor-sdk using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager: + +* git clone https://github.com/Microsoft/vcpkg.git +* cd vcpkg +* ./bootstrap-vcpkg.sh # ./bootstrap-vcpkg.bat for Windows +* ./vcpkg integrate install +* ./vcpkg install azure-kinect-sensor-sdk + +The azure-kinect-sensor-sdk 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. + ## Using tools The installer comes with a pre-built viewer application (k4aviewer.exe) which can be used to verify the