BUILD SYSTEMS AND PACKAGE MANAGERS
Conan is a package manager, primarily designed for C or C++ packages.
Linux, macOS, Windows
Assuming you have python and pip already installed on your system, you can install Conan with the command:
```sh $ pip install conan ```
Conan downloads package recipes and binaries to local cache, so if they are used multiple times, you don’t have to download them. Typically, the local cache is found at
You can inspect your local cache with:
```sh $ conan search ```
You can remove packages from your local cache with:
```sh $ conan remove ```
Conan will install packages to it’s cache located at
<user home directory>/.conan.
Packages uploaded to the central repository must have a
The conan file inside
test_package does not have to have a requires dependency for the package it is testing, this is automatically assumed.
You should not be writing your unit or integration tests inside
test_package. It is solely designed to test that the package was created properly. For a simple C++ static library, it would be enough to include the headers (this checks to make sure the headers were exported into the package correctly) and create an instance of a class provided by the library (this makes sure the static library was included in the package and it is being linked against).
This work is licensed under a Creative Commons Attribution 4.0 International License .