summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-09-05 10:32:31 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-09-05 08:37:21 +0000
commit94cbd067349e315e8d1f8798228ade0b77a65b79 (patch)
treea7c9070a853680b7914c2e145e2da48b72f68b6b /tests
parentee7aa2fc56773c6bc03200c88e77ffef20e5df9b (diff)
Add build and test instructions
Change-Id: Ic0d5b4157d439b9b4956bdbad14a749a659d2902 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 730317d..6864b94 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,3 +1,11 @@
-# Generated from tests.pro.
+# special case begin
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(QtNetworkAuthTests VERSION 6.0.0 LANGUAGES C CXX ASM)
+ find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core NetworkAuth Test)
+ qt_set_up_standalone_tests_build()
+endif()
+# special case end
+
+qt_build_tests()
-add_subdirectory(auto)