mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 07:46:02 +02:00
conan: add page (#5008)
This commit is contained in:
parent
1d9c989711
commit
cc8246f3aa
1 changed files with 28 additions and 0 deletions
28
pages/common/conan.md
Normal file
28
pages/common/conan.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
`conan install {{.}}`
|
||||||
|
|
||||||
|
- Install packages and create configuation files for a specific generator:
|
||||||
|
|
||||||
|
`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`
|
Loading…
Add table
Reference in a new issue