diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-07-27 10:17:04 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-07-31 12:55:32 +0200 |
commit | b3b1e4737808bc2f2ccaef88d133404877ebce58 (patch) | |
tree | c102293b7dfe24c7989a425aad4d384bff568933 /cmake/QtBaseGlobalTargets.cmake | |
parent | 704e215295954fc45b4f4c3fce4ba214cf3050cb (diff) |
CMake: Introduce qt_internal_add_app
This new function is meant to be used where load(qt_app) is used.
It delegates functionality to qt_add_executable, while handling
some additional behavior via a finalization function (mostly handling
of macOS Info.plist files and icons, as well as Windows icons and
resource files)
It uses a new PlatformAppInternal interface target.
Task-number: QTBUG-85757
Change-Id: I1a2d5851b137fcd4a6323e0e06fb154f91619800
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'cmake/QtBaseGlobalTargets.cmake')
-rw-r--r-- | cmake/QtBaseGlobalTargets.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QtBaseGlobalTargets.cmake b/cmake/QtBaseGlobalTargets.cmake index b630c3fe8d..fd3a1ea3bb 100644 --- a/cmake/QtBaseGlobalTargets.cmake +++ b/cmake/QtBaseGlobalTargets.cmake @@ -331,6 +331,7 @@ set(__export_targets Platform PlatformCommonInternal PlatformModuleInternal PlatformPluginInternal + PlatformAppInternal PlatformToolInternal) set(__export_name "${INSTALL_CMAKE_NAMESPACE}Targets") qt_install(TARGETS ${__export_targets} EXPORT "${__export_name}") @@ -347,6 +348,7 @@ qt_internal_export_modern_cmake_config_targets_file(TARGETS ${__export_targets} qt_copy_or_install(FILES cmake/ModuleDescription.json.in cmake/Qt3rdPartyLibraryConfig.cmake.in + cmake/QtApp.cmake cmake/QtBuild.cmake cmake/QtBuildInformation.cmake cmake/QtCompilerFlags.cmake |