create default profile

This commit is contained in:
Lukas Heiligenbrunner 2020-10-31 17:02:23 +01:00
parent c904c0701c
commit 789e4c9458

View File

@ -15,11 +15,12 @@ conan:
stage: conan stage: conan
script: script:
- export CONAN_USER_HOME=$PWD/.conan #define .conan folder to be inside of project - export CONAN_USER_HOME=$PWD/.conan #define .conan folder to be inside of project
- mkdir -p build - conan profile new default --detect # Generates default profile detecting GCC and sets old ABI
- conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
- conan remote add bintray https://api.bintray.com/conan/lheili/LibConfig - conan remote add bintray https://api.bintray.com/conan/lheili/LibConfig
- conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY - conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan - conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- conan profile update settings.compiler.libcxx=libstdc++11 default # new c++ abi - mkdir -p build # create build folder
- CONAN_SYSREQUIRES_MODE=enabled conan install . --build=missing -g cmake -if build - CONAN_SYSREQUIRES_MODE=enabled conan install . --build=missing -g cmake -if build
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF #cmake project - cmake -S . -B build -D WinBuild=OFF -D GUI=OFF #cmake project
- cd build - cd build