CMake: Add documentation for QT_NO_COLLECT_BUILD_TREE_APK_DEPS

Amends 63f79d7ffb

Pick-to: 6.3 6.4
Change-Id: I0d2fb6377653d88f4899b990d9c073df86047b61
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alexandru Croitor 2022-08-25 14:36:08 +02:00
parent b25b8ba1a9
commit fbcf910831
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}
*/