Conan recipe for dlib library http://dlib.net
Conan.io package for dlib library
$ pip install conan_package_tools
$ python build.py
$ conan install dlib/19.19@omaralvarez/stable
$ conan test_package
conanfile.txt
in the root directory:[generators]
cmake
…
[options]
dlib:enable_blas=False
dlib:enable_lapack=False
…
* The `CMakeLists.txt` at the root directory:
```cmake
cmake_minimum_required(VERSION 3.8)
project(project_name C CXX)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)
...
CMakeLists.txt
of a dependent target:
...
add_executable(example example.cpp)
target_link_libraries(example CONAN_PKG::dlib)
...
conan remote add omaralvarez https://api.bintray.com/conan/omaralvarez/public-conan
where the
conan install .. -s build_type=Release --build=missing
..
points to the project root at the parent directory.
cmake ..