aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-09-04 19:33:30 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-09-05 07:34:58 +0000
commit813ac231387a48142f8645486d639152b0501194 (patch)
tree7cac407f97c963f2321809d4902da1e70a9a9391 /tests
parent14134892d4e4c264a4475ed353fe201955417fc5 (diff)
Add build and test instructions for the cmake build
Change-Id: Id44980471c9e78ef6d7525c4c24de201207b95c9 Reviewed-by: Qt CMake Build Bot Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index e4f5f7f..9cb1a65 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,4 +1,10 @@
-# Generated from tests.pro.
+# special case begin
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(QtGraphicalEffectsTests VERSION 6.0.0 LANGUAGES C CXX ASM)
+ find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Test Qml Quick)
+ qt_set_up_standalone_tests_build()
+endif()
+# special case end
-add_subdirectory(manual)
-add_subdirectory(auto)
+qt_build_tests()