if [[ "${CXX}" == clang* ]] | if [[ "${CXX}" == clang* ]] | ||||
then | then | ||||
export CXXFLAGS="-stdlib=libc++" | export CXXFLAGS="-stdlib=libc++" | ||||
CONAN_STDLIB=libc++ | |||||
else | |||||
CONAN_STDLIB=libstdc++11 | |||||
fi | fi | ||||
mkdir build && cd build | mkdir build && cd build | ||||
conan install --build missing -s compiler.libcxx=libstdc++11 .. | |||||
conan install --build missing -s compiler.libcxx=${CONAN_STDLIB} .. | |||||
cmake .. | cmake .. | ||||
make | make |