I'm working with conan 0.16.0 and I can't figure how to install a package in the local store. My idea is to create a recipe, create every package I want from the recipe, install them in the local store and then upload them on a conan server to make them available to other developer without them having to recompile the package as they are already available.
What I actually do :
- Create the recipe (the conanfile.py with my build and export method)
- I install it in the local store using
conan export user/channel
- I check that I can build by doing
conan build
- I create a package with
mkdir mypackage
,cd mypackage
andconan package ..
- And then, I don't know how to install this package in the local store (after, I would like to upload the recipe & the packages from the local store to the server)
The only way I found to have my package in the local store is to have another recipe that requires the the previous recipe and then make a conan install --build
. A package of my first recipe will be build and will be present in my local store but this way forces me to create "fake" requirements to achieve my goal.
Is there any way I could build my packages for the settings I want and then directly install them in the local store ?