[requires] | [requires] | ||||
Catch2/2.8.0@catchorg/stable | Catch2/2.8.0@catchorg/stable | ||||
trompeloeil/v34@rollbear/stable | |||||
trompeloeil/v34@rollbear/stable | |||||
[generators] | [generators] | ||||
cmake_find_package | cmake_find_package |
set -ex | set -ex | ||||
# Conan | |||||
apt-get install -y python3-pip | |||||
pip3 install conan | |||||
if [[ "${CXX}" == clang* ]] | if [[ "${CXX}" == clang* ]] | ||||
then | then | ||||
export CXXFLAGS="-stdlib=libc++" | export CXXFLAGS="-stdlib=libc++" | ||||
fi | fi | ||||
mkdir build && cd build | mkdir build && cd build | ||||
conan install --build missing .. | |||||
cmake .. | cmake .. | ||||
make | make |