-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCMakeLists.txt
49 lines (45 loc) · 1.16 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
include(ECMMarkAsTest)
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
macro(KIOWIDGETS_EXECUTABLE_TESTS)
foreach(_testname ${ARGN})
add_executable(${_testname} ${_testname}.cpp)
target_link_libraries(${_testname}
KF6::KIOCore
KF6::KIOGui
KF6::KIOWidgets
KF6::KIOFileWidgets
Qt6::Test
KF6::WidgetsAddons
KF6::IconThemes)
ecm_mark_as_test(${_testname})
endforeach()
endmacro(KIOWIDGETS_EXECUTABLE_TESTS)
if (HAVE_QTDBUS)
KIOWIDGETS_EXECUTABLE_TESTS(
getalltest
kdirlistertest_gui
kdirmodeltest_gui
kemailclientlauncherjobtest_gui
kencodingfiledialogtest_gui
kfilecustomdialogtest_gui
kfilecustomdialogtest_gui_select_dir_mode
kfilewidgettest_gui
kfilewidgettest_saving_gui
kioworkertest
kmountpoint_debug
kopenwithtest
kpropertiesdialogtest
kprotocolinfo_dumper
kruntest
ksycocaupdatetest
kterminallauncherjobtest_gui
kurlnavigatortest_gui
kurlrequestertest_gui
listjobtest
openfilemanagerwindowtest
previewtest
${runapplication_EXE}
)
add_subdirectory(messageboxworker)
endif()