From f44dfe9c34a6c2aebf0c24b2b7c95c52c2a004ba Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 15 Oct 2020 15:29:52 +0200 Subject: CMake: Build iOS in a release and debug configuration To ensure that examples can be built with an xcode project generated by qmake, we have to ship both debug and release libraries. So use Ninja Muli-Config to build both configs. Note we build Release and not RelWithDebInfo on purpose, so we don't inflate the package size too much due to the embedded debug information. We can probably switch to RelWithDebInfo once we implement the separate_debug_info feature for static builds. Fixes: QTBUG-87638 Change-Id: I3e26cd0e47fc96fbdee8b3b0177f78fa266b8cc4 Reviewed-by: Qt CI Bot Reviewed-by: Joerg Bornemann --- coin/platform_configs/cmake_platforms.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coin') diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml index 388c21a2..0f6d7e3b 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -80,7 +80,7 @@ Configurations: Target compiler: 'Clang' Platform dependency: 'macos-10.14-host' Features: ['Packaging', 'Sccache'] - Environment variables: ['TARGET_CONFIGURE_ARGS=-DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=iOS -DQT_FORCE_SIMULATOR_AND_DEVICE=ON -DBUILD_WITH_PCH=OFF', 'NON_QTBASE_TARGET_CONFIGURE_ARGS='] + Environment variables: ['TARGET_CONFIGURE_ARGS=-G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="Release;Debug" -DBUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=iOS -DBUILD_WITH_PCH=OFF', 'NON_QTBASE_TARGET_CONFIGURE_ARGS='] - Id: 'Windows10-Mingw8-x64-host' Template: 'qtci-windows-10-x86_64-51' -- cgit v1.2.3