tldr/pages/common/conan.md

29 lines
601 B
Markdown
Raw Normal View History

2020-12-12 18:06:49 +00:00
# conan
> The open source, decentralized and multi-platform package manager to create and share all your native binaries.
> More information: <https://conan.io/>.
- Install packages based on `conanfile.txt`:
2020-12-12 18:06:49 +00:00
`conan install {{.}}`
- 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:
`conan remote --list`