2020-12-12 18:06:49 +00:00
|
|
|
# conan
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> The open source, decentralized and cross-platform package manager to create and share all your native binaries.
|
2020-12-12 18:06:49 +00:00
|
|
|
> More information: <https://conan.io/>.
|
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Install packages based on `conanfile.txt`:
|
2020-12-12 18:06:49 +00:00
|
|
|
|
|
|
|
`conan install {{.}}`
|
|
|
|
|
2021-02-07 03:48:45 +00:00
|
|
|
- Install packages and create configuration files for a specific generator:
|
2020-12-12 18:06:49 +00:00
|
|
|
|
|
|
|
`conan install -g {{generator}}`
|
|
|
|
|
|
|
|
- Install packages, building from source:
|
|
|
|
|
|
|
|
`conan install {{.}} --build`
|
|
|
|
|
|
|
|
- Search for locally installed packages:
|
|
|
|
|
|
|
|
`conan search {{package}}`
|
|
|
|
|
|
|
|
- Search for remote packages:
|
|
|
|
|
|
|
|
`conan search {{package}} -r {{remote}}`
|
|
|
|
|
|
|
|
- List remotes:
|
|
|
|
|
2021-07-25 20:08:27 +01:00
|
|
|
`conan remote list`
|