mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-21 14:06:41 +08:00
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 <qt_ci_bot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user