From c299e595834ee4266ced8e9d487814f9cee2916e Mon Sep 17 00:00:00 2001 From: Jonliu1993 <13720414433@163.com> Date: Fri, 9 Sep 2022 17:25:18 +0800 Subject: [PATCH] Add vcpkg installation instructions --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index b50f8379..6bd22479 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,18 @@ This shows compiler flags it was designed for, but normally one would use the compiler or build system of their project instead of those commands, and other C compilers are supported. +### Building lodepng - Using vcpkg + +You can download and install lodepng 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 lodepng + +The lodepng 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. + ### Makefile There is a Makefile, but this is not intended for using LodePNG itself since the