2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2021-11-18 20:42:59 +00:00
|
|
|
qt_feature("androiddeployqt" PRIVATE
|
|
|
|
SECTION "Deployment"
|
|
|
|
LABEL "Android deployment tool"
|
|
|
|
PURPOSE "The Android deployment tool automates the process of creating Android packages."
|
|
|
|
CONDITION NOT CMAKE_CROSSCOMPILING AND QT_FEATURE_regularexpression)
|
|
|
|
|
2021-11-18 13:52:19 +00:00
|
|
|
qt_feature("macdeployqt" PRIVATE
|
|
|
|
SECTION "Deployment"
|
|
|
|
LABEL "macOS deployment tool"
|
|
|
|
PURPOSE "The Mac deployment tool automates the process of creating a deployable application bundle that contains the Qt libraries as private frameworks."
|
2021-11-25 21:01:22 +00:00
|
|
|
AUTODETECT CMAKE_HOST_APPLE
|
2021-11-18 13:52:19 +00:00
|
|
|
CONDITION MACOS)
|
|
|
|
|
|
|
|
qt_feature("windeployqt" PRIVATE
|
|
|
|
SECTION "Deployment"
|
|
|
|
LABEL "Windows deployment tool"
|
|
|
|
PURPOSE "The Windows deployment tool is designed to automate the process of creating a deployable folder containing the Qt-related dependencies (libraries, QML imports, plugins, and translations) required to run the application from that folder. It creates a sandbox for Universal Windows Platform (UWP) or an installation tree for Windows desktop applications, which can be easily bundled into an installation package."
|
2021-11-25 21:01:22 +00:00
|
|
|
AUTODETECT CMAKE_HOST_WIN32
|
2021-11-18 13:52:19 +00:00
|
|
|
CONDITION WIN32)
|
|
|
|
|
2021-11-18 20:54:27 +00:00
|
|
|
qt_feature("qmake" PRIVATE
|
|
|
|
PURPOSE "The qmake tool helps simplify the build process for development projects across different platforms."
|
|
|
|
CONDITION QT_FEATURE_settings AND QT_FEATURE_alloca AND
|
|
|
|
(QT_FEATURE_alloca_malloc_h OR NOT WIN32) AND QT_FEATURE_cborstreamwriter AND
|
|
|
|
QT_FEATURE_datestring AND QT_FEATURE_regularexpression AND QT_FEATURE_temporaryfile)
|
|
|
|
|
2021-11-18 20:42:59 +00:00
|
|
|
qt_configure_add_summary_section(NAME "Core tools")
|
|
|
|
qt_configure_add_summary_entry(ARGS "androiddeployqt")
|
2021-11-18 13:52:19 +00:00
|
|
|
qt_configure_add_summary_entry(ARGS "macdeployqt")
|
|
|
|
qt_configure_add_summary_entry(ARGS "windeployqt")
|
2021-11-18 20:54:27 +00:00
|
|
|
qt_configure_add_summary_entry(ARGS "qmake")
|
2021-11-18 20:42:59 +00:00
|
|
|
qt_configure_end_summary_section()
|