Skip to content

TUM-CONAN/conan-opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conan-opencv

Conan.io package for opencv library.

Add Remote

$ conan remote add camposs "https://conan.campar.in.tum.de/api/conan/conan-camposs"

For Users: Use this package

Basic setup

$ conan install opencv/3.4.1@camposs/stable

Project setup

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

[requires]
opencv/3.4.1@camposs/stable

[options]
opencv:shared=true # false

[generators]
txt
cmake

Complete the installation of requirements for your project running:

$ mkdir build && cd build && 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.

For Packagers: Publish this Package

The example below shows the commands used to publish to campar conan repository. To publish to your own conan respository (for example, after forking this git repository), you will need to change the commands below accordingly.

Build packages

$ conan create . camposs/stable

Upload packages to server

$ conan upload -r camposs opencv/3.4.1@camposs/stable --all    

Releases

No releases published

Packages

No packages published