Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 784 Bytes

README-conan-community.md

File metadata and controls

30 lines (17 loc) · 784 Bytes

conan-zlib

Conan package for ZLIB library. Thanks to Tim Lebedkov for the MinGW integration help! :)

Basic setup

$ conan install zlib/1.2.11@conan/stable

Project setup

If you handle multiple dependencies in your project is better to add a conanfile.txt

[requires]
zlib/1.2.11@conan/stable

[options]
zlib:shared=True # False
zlib:fPIC=True # False

[generators]
cmake

Complete the installation of requirements for your project running:

conan install . 

Project setup installs the library (and all his dependencies) and generates the files conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.