summaryrefslogtreecommitdiffstats
path: root/cmake/QtSetup.cmake
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2020-11-16 18:31:56 +0100
committerAleix Pol Gonzalez <aleixpol@kde.org>2020-12-08 08:03:54 +0000
commit9d831491334e75f8ccc691edaeb173af81ab80ac (patch)
treeb767443b5419e0c48c87a692fff21c6abc488d79 /cmake/QtSetup.cmake
parentc7443d2e11c6558dc415d611d4d99e9286ddf0c0 (diff)
Offer to build manual tests through QT_BUILD_MANUAL_TESTS
Disabled by default as they are currently not being built and many are not working properly, this will allow us to start using them again. Change-Id: I823368d04e9fde2beccabedc3ca15efd1f355bfb Pick-to: 6.0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtSetup.cmake')
-rw-r--r--cmake/QtSetup.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake
index a77a1795b9..ec8be5e269 100644
--- a/cmake/QtSetup.cmake
+++ b/cmake/QtSetup.cmake
@@ -163,6 +163,8 @@ enable_testing()
option(QT_BUILD_EXAMPLES "Build Qt examples" OFF)
option(QT_BUILD_EXAMPLES_BY_DEFAULT "Should examples be built as part of the default 'all' target." ON)
+option(QT_BUILD_MANUAL_TESTS "Build Qt manual tests" OFF)
+
## Find host tools (if non native):
set(QT_HOST_PATH "" CACHE PATH "Installed Qt host directory path, used for cross compiling.")