From ec70626be364f6eb21920f0b35fd1ff366270f7c Mon Sep 17 00:00:00 2001 From: Florent Leclercq Date: Wed, 31 May 2023 11:36:58 +0200 Subject: [PATCH] README.md: add possibility of user and channel --- README.md | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7dccf41..c131f79 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,24 @@ conan profile detect --force cd build-debug conan build .. --profile=debug ``` -* To create the package (i.e. build and install it in the conan cache ``~/.conan2``) -``` -conan create . --build=missing -``` -or for the debug version: -``` -conan create . --build=missing --profile=debug -``` +* To create the package (i.e. build and install it in the conan cache ``~/.conan2``): + ``` + conan create . --build=missing + ``` + or for the debug version: + ``` + 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 + ```