Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.95 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.95 KB

Conan 2.0 examples

Tutorial

Consuming packages

  • Use Conan to manage dependencies for a simple application, a string compressor that uses Zlib. Docs
  • Use Conan to install and use build tools like CMake. Docs
  • Learn how to build for different configurations, like Release or Debug and build shared or static libraries. Docs
  • Learn about the flexibility of using a conanfile.py instead a conanfile.txt. Docs
  • Learn how to cross-compile your applications with Conan. Docs
  • Learn how to use SWIG with Conan to have its package consumable from Python:

  • cd tutorial/consuming_packages/conan_swig_example/

  • docker run --rm -ti -v ${PWD}:/home/conan/project conanio/gcc7

SWIG needs Python.h from python3-dev ubuntu package

  • sudo apt-get update
  • sudo apt-get install python3-dev
  • cd project
  • conan create . --profile profile