README.md: add possibility of user and channel
This commit is contained in:
parent
59044298ea
commit
ec70626be3
1 changed files with 21 additions and 8 deletions
29
README.md
29
README.md
|
@ -29,11 +29,24 @@ conan profile detect --force
|
||||||
cd build-debug
|
cd build-debug
|
||||||
conan build .. --profile=debug
|
conan build .. --profile=debug
|
||||||
```
|
```
|
||||||
* To create the package (i.e. build and install it in the conan cache ``~/.conan2``)
|
* To create the package (i.e. build and install it in the conan cache ``~/.conan2``):
|
||||||
```
|
```
|
||||||
conan create . --build=missing
|
conan create . --build=missing
|
||||||
```
|
```
|
||||||
or for the debug version:
|
or for the debug version:
|
||||||
```
|
```
|
||||||
conan create . --build=missing --profile=debug
|
conan create . --build=missing --profile=debug
|
||||||
```
|
```
|
||||||
|
If necessary, use a user and a channel to build as ``elemmire/x.y@user/channel'':
|
||||||
|
```
|
||||||
|
conan create . --build=missing --user user --channel channel
|
||||||
|
```
|
||||||
|
* Work with the local cache
|
||||||
|
* Check installation in the cache:
|
||||||
|
```
|
||||||
|
conan list elemmire
|
||||||
|
```
|
||||||
|
* To remove from the local cache:
|
||||||
|
```
|
||||||
|
conan remove elemmire/x.y
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue