You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 7 година
пре 7 година
пре 7 година
пре 7 година
пре 7 година
пре 7 година
пре 7 година
пре 7 година
123456789101112131415161718192021222324
  1. #!/bin/bash
  2. set -ex
  3. # Conan
  4. apt-get install -y python3-pip
  5. pip3 install conan
  6. if [[ "${CXX}" == clang* ]]
  7. then
  8. export CXXFLAGS="-stdlib=libc++"
  9. CONAN_STDLIB=libc++
  10. else
  11. CONAN_STDLIB=libstdc++11
  12. fi
  13. mkdir build && cd build
  14. conan install --build missing -s compiler.libcxx=${CONAN_STDLIB} ..
  15. cmake ..
  16. make
  17. make unittest