Add Conan profiles

Create conan profile per packaging configuration. Profiles will
carry configuration information to the builds conan does.

Profiles allow users to replicate identical configurations
to the packaging configurations and reuse existing binaries.

Change-Id: I50a2a4edbedbf56774bd4ceaae268928f8ed00e0
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
This commit is contained in:
Iikka Eklund
2021-04-08 11:58:23 +03:00
committed by Toni Saario
parent 4d617e24ee
commit d68e108b94
23 changed files with 463 additions and 29 deletions

View File

@@ -0,0 +1,17 @@
[settings]
os=Linux
arch=x86_64
compiler=gcc
compiler.version=9.3
compiler.libcxx=libstdc++11
build_type=Release
[options]
*:release=yes
*:shared=yes
*:nomake=tests;examples
*:developer_build=yes
*:cmake_args_qtbase="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
[build_requires]
[env]
CONAN_CMAKE_GENERATOR=Ninja