Skip to content

EstebanDugueperoux2/examples2

 
 

Repository files navigation

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

About

Conan 2.0 examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.1%
  • C 26.0%
  • C++ 10.4%
  • CMake 9.6%
  • Shell 2.0%
  • Batchfile 1.1%
  • SWIG 0.8%