📄️ Overview
Conan is a dependency and package manager for C and C++ languages. It is free and open-source, works on all platforms (Windows, Linux, OSX, FreeBSD, Solaris, etc.), and can be used to develop for all targets including embedded, mobile (iOS, Android), and bare metal. It also integrates with all build systems like CMake, Visual Studio (MSBuild), Makefiles, SCons, etc., including proprietary ones.
📄️ Create first Conan project
Install Conan
📄️ Add library using CMake
Classic approaches for resolving dependencies to the external libraries while using CMake is copying the source codes of the external libraries into the subdirectories, then use add_subdirectory() in your CMakeLists.txt to add the external libraries codes to your CMake tree, and build it all together with your software
📄️ Create package
This section introduces how to create your own Conan packages, explain conanfile.py recipes and the commands to build packages from sources in your computer.
📄️ Install Conan server
First, you can download the JFrog Artifactory Community Edition from here. At this time, I am using Linux for the environment and I simply download the tar.gz file but there are several options like getting the docker container
📄️ Introduce conanfile.py
Reference here//docs.conan.io/en/1.60/index.html
📄️ Profiles
Conan profiles are the heart of the user configuration for Conan. They specify many different variables, that Conan will use during the building process: