talira

The open source C and C++ package manager

open sourceMITfree

Conan is a decentralized package manager for C and C++. It creates, shares and reuses native binaries across a team, for any combination of OS, architecture, compiler, compiler version, runtime and C++ standard library, and builds missing binaries from source on demand. It works with CMake, MSBuild, Meson, Makefiles, SCons and other build systems, cross-builds for Android, iOS, embedded and bare metal targets, and uses the ConanCenter repository for open source packages. Private packages can be hosted on a server such as JFrog Artifactory, including its free Community Edition for Conan. Conan is written in Python and installed with pip or as a self-contained executable.

Ways to install

Package managers

Problems it solves

  • manage third-party C++ dependencies without vendoring their source into my repo
  • share prebuilt C and C++ binaries across my team for different compilers and platforms
  • cross-compile C++ libraries for Android, iOS or embedded boards and reuse the binaries

Features

  • prebuilt binaries for any OS, architecture, compiler and runtime
  • builds missing binaries from source on demand
  • integrates with CMake, MSBuild, Meson, Makefiles and SCons
  • cross-building for mobile, embedded and bare metal
  • ConanCenter public package repository
  • private repositories on your own server

Alternatives

The same job

These do what Conan does.

  1. vcpkg C/C++ dependency manager from Microsoft for all platforms, build systems and workflows
  2. Conda Package, dependency and environment manager for any language
  3. CocoaPods Dependency manager for Swift and Objective-C Cocoa projects

Compare Conan with the top 3