summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/cmake.pro
blob: 35dbf613d94f27d5fabaf8bd8a26bcca0b3d638e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

TEMPLATE = subdirs

# installed_cmake includes this file, and tries to add the mockplugins
# directory relative to itself, but doesn't have its own copy of the directory.
# So, we make the path absolute so it includes this copy of the directory
# instead.
SUBDIRS += $$PWD/mockplugins

CMAKE_QT_MODULES_UNDER_TEST = core network xml sql testlib

qtHaveModule(dbus): CMAKE_QT_MODULES_UNDER_TEST += dbus
qtHaveModule(gui): CMAKE_QT_MODULES_UNDER_TEST += gui
qtHaveModule(widgets): CMAKE_QT_MODULES_UNDER_TEST += widgets
qtHaveModule(printsupport): CMAKE_QT_MODULES_UNDER_TEST += printsupport
qtHaveModule(opengl): CMAKE_QT_MODULES_UNDER_TEST += opengl
qtHaveModule(concurrent): CMAKE_QT_MODULES_UNDER_TEST += concurrent

CONFIG += ctest_testcase
win32:testcase.timeout = 1000 # this test is slow on Windows