CMake: Add documentation for QT_NO_COLLECT_BUILD_TREE_APK_DEPS

Amends 63f79d7ffb22de89a2c6314caa5b5a1908590063

Change-Id: I0d2fb6377653d88f4899b990d9c073df86047b61
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit fbcf910831ef7ba4897d7e818dc0c1c3e45e28a6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexandru Croitor 2022-08-25 14:36:08 +02:00 committed by Qt Cherry-pick Bot
parent 352cbfd3c8
commit 65a04c3625
2 changed files with 23 additions and 0 deletions

View File

@ -205,6 +205,28 @@ Mentioned variables are used internally by \l{androiddeployqt}.
\sa{androiddeployqt}
*/
/*!
\page cmake-variable-QT_NO_COLLECT_BUILD_TREE_APK_DEPS.html
\ingroup cmake-variables-qtcore
\title QT_NO_COLLECT_BUILD_TREE_APK_DEPS
\target cmake-variable-QT_NO_COLLECT_BUILD_TREE_APK_DEPS
\summary {Prevents collecting of project-built shared library targets during Android deployment.}
\cmakevariablesince 6.3
\preliminarycmakevariable
\cmakevariableandroidonly
During project finalization, the build system collects the locations of
all built shared library targets in the project.
These locations are passed to \l androiddeployqt for deployment consideration when
resolving dependencies between libraries.
Set \c QT_NO_COLLECT_BUILD_TREE_APK_DEPS to \c TRUE to disable this behavior.
\sa {qt6_finalize_project}{qt_finalize_project()}
*/
/*!
\page cmake-variable-QT_HOST_PATH.html
\ingroup cmake-variables-qtcore

View File

@ -44,4 +44,5 @@ function:
\snippet cmake-macros/examples.cmake qt_finalize_project_manual
\sa {cmake-variable-QT_NO_COLLECT_BUILD_TREE_APK_DEPS}{QT_NO_COLLECT_BUILD_TREE_APK_DEPS}
*/