blob: ccb25551d98f89479405baf71124baa362a07443 (
plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
##### ---------- General Settings ----------
SET( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
INCLUDE_DIRECTORIES ( ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/..
${CMAKE_CURRENT_SOURCE_DIR}/../adblock
${CMAKE_CURRENT_SOURCE_DIR}/../bookmarks
${CMAKE_CURRENT_SOURCE_DIR}/../history
${CMAKE_CURRENT_SOURCE_DIR}/../rekonqpage
${CMAKE_CURRENT_SOURCE_DIR}/../settings
${CMAKE_CURRENT_SOURCE_DIR}/../urlbar
${KDE4_INCLUDES}
${QT4_INCLUDES}
)
##### ------------- tabbar test
kde4_add_unit_test( tabbar_test tabbar_test.cpp )
target_link_libraries( tabbar_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
${QT_QTTEST_LIBRARY}
)
##### ------------- mainview test
kde4_add_unit_test( mainview_test mainview_test.cpp )
target_link_libraries( mainview_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
${QT_QTTEST_LIBRARY}
)
##### ------------- webpage test
kde4_add_unit_test( webpage_test webpage_test.cpp )
target_link_libraries( webpage_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
${KDE4_KDEWEBKIT_LIBS}
${QT_QTTEST_LIBRARY}
)
##### ------------- webtab test
kde4_add_unit_test( webtab_test webtab_test.cpp )
target_link_libraries( webtab_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
${KDE4_KDEWEBKIT_LIBS}
${QT_QTTEST_LIBRARY}
)
############################################################
|