Skip to content

Commit ca0cdfc

Browse files
authored
Merge pull request #252 from JonLiu1993/vcpkg-instructions
Add vcpkg installation instructions
2 parents 7b9bcf7 + a203b9a commit ca0cdfc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

readme.md

+12
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ Releases are available at the [releases page](https://github.com/richgel999/mini
1818
* Entire inflater (including optional zlib header parsing and Adler-32 checking) is implemented in a single function as a coroutine, which is separately available in a small (~550 line) source file: miniz_tinfl.c
1919
* A fairly complete (but totally optional) set of .ZIP archive manipulation and extraction API's. The archive functionality is intended to solve common problems encountered in embedded, mobile, or game development situations. (The archive API's are purposely just powerful enough to write an entire archiver given a bit of additional higher-level logic.)
2020

21+
## Building miniz - Using vcpkg
22+
23+
You can download and install miniz using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
24+
25+
git clone https://github.com/Microsoft/vcpkg.git
26+
cd vcpkg
27+
./bootstrap-vcpkg.sh
28+
./vcpkg integrate install
29+
./vcpkg install miniz
30+
31+
The miniz 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.
32+
2133
## Known Problems
2234

2335
* No support for encrypted archives. Not sure how useful this stuff is in practice.

0 commit comments

Comments
 (0)