Conan Client
Linux
apt install python3-all python3-pip python3-venv
python3 -m venv ~/.venv/conan
source ~/.venv/conan/bin/activate
python -m pip install -U pip
pip install conan
conan --help
Windows
run as administrator 1. Press ⊞ + R 2. Type in cmd 3. Press Ctrl + Shift + Enter 4. Choose Yes and Press Enter
python -m pip install virtualenv
python -m venv ~\.venv\conan
~\.venv\conan\Scripts\activate
python -m pip install -U pip
pip install conan
conan --help
Getting Started
cd $ACADEMIA_HOME/wss/ccpp_wss/
git clone https://github.com/conan-io/examples.git
cd examples/libraries/poco/md5/
conan search poco --remote=conancenter
conan inspect poco/1.9.4
cat conanfile.txt
Knowledge
git clone https://github.com/conan-io/conan.git conan;\ cd conan; python -m pip install -e . pip install conan --upgrade
ls -la ~/.conan/profiles/ cat ~/.conan/profiles/default
conan info .. conan search "*" conan search poco/1.9.4@ conan info .. --graph=file.html conan install .. --profile=gcc_x86 conan install .. --settings arch=x86 conan install .. --settings os="Linux" --settings compiler="gcc"
References
|