Conan.io package for OpenSSL library
The packages generated with this conanfile can be found in conan.io.
Download conan client from Conan.io and run:
$ python build.py
$ conan upload OpenSSL/1.0.2i@lasote/stable --all
$ conan install OpenSSL/1.0.2i@lasote/stable
If you handle multiple dependencies in your project is better to add a conanfile.txt
[requires]
OpenSSL/1.0.2i@lasote/stable
[options]
OpenSSL:shared=true # false
# Take a look for all available options in conanfile.py
[generators]
txt
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.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.