diff options
author | Christian Heimlich <chris@pcserenity.com> | 2023-03-09 10:40:19 -0500 |
---|---|---|
committer | Christian Heimlich <chris@pcserenity.com> | 2023-03-13 11:27:03 -0500 |
commit | 0a0f7778215df9fd05434800aacf72cd4bb63fa1 (patch) | |
tree | a935bfa7333ed9fe27d388a0d7643759c65442aa /src/qml/Qt6QmlMacros.cmake | |
parent | bab8e705991616fb40feb56f7b24eb69332f7217 (diff) |
CMake: Add NO_COMPILER_RUNTIME to qt_generate_deploy_qml_app_script
Provides the NO_COMPILER_RUNTIME boolean option to
qt_generate_deploy_qml_app_script(), which forwards to
qt_deploy_runtime_dependencies().
On Windows, this option prevents the deployment of compiler runtimes.
[ChangeLog][CMake] Added the option NO_COMPILER_RUNTIME to
qt_generate_deploy_qml_app_script.
Task-number: QTBUG-111741
Pick-to: 6.5 6.5.0
Change-Id: Ic51fc5430e21b8c5aba201d4675a37c9c220a3f2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/qml/Qt6QmlMacros.cmake')
-rw-r--r-- | src/qml/Qt6QmlMacros.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/Qt6QmlMacros.cmake b/src/qml/Qt6QmlMacros.cmake index 0284d0e75f..9c9286ed5c 100644 --- a/src/qml/Qt6QmlMacros.cmake +++ b/src/qml/Qt6QmlMacros.cmake @@ -3072,6 +3072,7 @@ function(qt6_generate_deploy_qml_app_script) set(no_value_options NO_UNSUPPORTED_PLATFORM_ERROR NO_TRANSLATIONS + NO_COMPILER_RUNTIME MACOS_BUNDLE_POST_BUILD DEPLOY_USER_QML_MODULES_ON_UNSUPPORTED_PLATFORM ) @@ -3155,6 +3156,9 @@ function(qt6_generate_deploy_qml_app_script) if(arg_NO_TRANSLATIONS) string(APPEND common_deploy_args " NO_TRANSLATIONS\n") endif() + if(arg_NO_COMPILER_RUNTIME) + string(APPEND common_deploy_args " NO_COMPILER_RUNTIME\n") + endif() # Forward the arguments that are exactly the same for qt_deploy_runtime_dependencies. foreach(var IN LISTS qt_deploy_runtime_dependencies_options) |