blob: bedc4b115c66afab4284fd20ccfc029a4bbf71d1 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
#################################################
#
# (C) 2016 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${TQT_INCLUDE_DIRS}
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/dcop
${CMAKE_BINARY_DIR}/tdecore
${CMAKE_SOURCE_DIR}/tdecore
${CMAKE_SOURCE_DIR}/tdeui
${CMAKE_SOURCE_DIR}/tdeio
${CMAKE_SOURCE_DIR}/tdeio/tdeio
${CMAKE_BINARY_DIR}/tdeabc
${CMAKE_SOURCE_DIR}/tdeabc
${CMAKE_SOURCE_DIR}/kab
${CMAKE_SOURCE_DIR}/tdeabc/plugins/sql
${CMAKE_SOURCE_DIR}/tdeabc/vcardparser
${CMAKE_SOURCE_DIR}/tdeabc/vcard/include
${CMAKE_SOURCE_DIR}/tdeabc/vcard/include/generated
${CMAKE_SOURCE_DIR}/tdeabc/vcardparser
)
link_directories(
${TDECORE_LIBRARY_DIRS}
)
set( TDEABC_TESTS_LINK
${TQT_LIBRARIES}
DCOP-shared
tdecore-shared
tdeui-shared
tdefx-shared
tdeio-shared
tdetexteditor-shared
tdeabc-shared
)
##### test programs ##############################
tde_add_executable( testlock
SOURCES testlock.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( testldapclient
SOURCES testldapclient.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( testkabc
SOURCES testkabc.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( testaddressee
SOURCES testaddressee.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( testaddresseelist
SOURCES testaddresseelist.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( testaddressfmt
SOURCES testaddressfmt.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( testkabcdlg
SOURCES testkabcdlg.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( testdistlist
SOURCES testdistlist.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( testaddresslineedit
SOURCES testaddresslineedit.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK}
)
tde_add_executable( bigread
SOURCES bigread.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK} tdeabc_file-shared
)
tde_add_executable( bigwrite
SOURCES bigwrite.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK} tdeabc_file-shared
)
# Plugin ResourceSql is not built == can not be tested
#
# tde_add_executable( testdb
# SOURCES testdb.cpp AUTOMOC
# LINK ${TDEABC_TESTS_LINK} tdeabc_file-shared
# )
tde_add_executable( kabcargl
SOURCES kabcargl.cpp AUTOMOC
LINK ${TDEABC_TESTS_LINK} tdeabc_file-shared
)
|