Skip to content

franramirez688/examples2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 different versions, version ranges and revisions. Docs

Creating packages

  • Learn how to create a simple "Hello World" Conan package using the conan new command. Docs
  • Learn how to modify the previous example to bring source files form a zip file located in a remote server or from a git repository. Docs
  • Learn how to add requirements to a Conan package. Docs
  • Learn how to configure the toolchain in the generate() method. Docs
  • Learn how to configure settings and options and how Conan models binary compatibility. Docs

Creating packages: other types of packages

  • Learn how to create a Conan package for a simple header-only library. Docs
  • Learn how to create a Conan package for a simple header-only library that needs the settings. Docs
  • Learn how to create a Conan package when we are building our project with our IDE and we want to directly package the binaries without calling "conan create". Docs
  • Learn how to create a Conan package when we have prebuilt libraries (like third-party vendors). Docs
  • Learn how to create a Conan package when we have prebuilt libraries located in a remote repository. Docs

Examples

  • Learn how to create custom commands in Conan. Docs

    • conan clean command: Deletes (from local cache or remotes) all recipe and package revisions but the latest package revision from the latest recipe revision. Docs
  • Learn how to cross-build packages for Android. Docs

About

Conan 2.0 examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.8%
  • C 12.7%
  • CMake 5.0%
  • C++ 2.5%
  • Other 1.0%