This document is devoted to how to install libraries. Make sure, that Conan and CMake have been already installed in your computer, and CMakeLists have been written. Whereupon, you have to clone a repository from the official library site. Below in the text there are the code what you have to print on the command line.
The code below was written for Debug (Visual Studio 15 32bit).
$ mkdir build.debug
$ cd build.debug
$ conan install ../src -s compiler="Visual Studio" -s compiler.version=14 -s arch=x86 -s build_type=Debug -s compiler.runtime=MDd
$ cmake ../src -G "Visual Studio 14"
- Creat a build.debug directory.
- Go to the directory.
- Conan installs the library for your development environment.
- CMake build the library.