blob: e421c1abc8e2d1c81d80613c3675870fa389efea (
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
|
#################################################
#
# (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}/kdecore
${CMAKE_SOURCE_DIR}/kdecore
${CMAKE_SOURCE_DIR}/kdeui
${CMAKE_SOURCE_DIR}/kio
${CMAKE_SOURCE_DIR}/kio/kio
${CMAKE_BINARY_DIR}/kabc
${CMAKE_SOURCE_DIR}/kabc
${CMAKE_SOURCE_DIR}/kab
${CMAKE_SOURCE_DIR}/kabc/plugins/sql
${CMAKE_SOURCE_DIR}/kabc/vcardparser
${CMAKE_SOURCE_DIR}/kabc/vcard/include
${CMAKE_SOURCE_DIR}/kabc/vcard/include/generated
${CMAKE_SOURCE_DIR}/kabc/vcardparser
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### test programs ##############################
tde_add_check_executable( testlock AUTOMOC LINK kabc-shared )
tde_add_check_executable( testldapclient AUTOMOC LINK kabc-shared )
tde_add_check_executable( testkabc AUTOMOC LINK kabc-shared )
tde_add_check_executable( testkabcdlg AUTOMOC LINK kabc-shared )
tde_add_check_executable( testdistlist AUTOMOC LINK kabc-shared )
tde_add_check_executable( testaddressee AUTOMOC LINK kabc-shared )
tde_add_check_executable( testaddresseelist AUTOMOC LINK kabc-shared )
tde_add_check_executable( testaddressfmt AUTOMOC LINK kabc-shared )
tde_add_check_executable( testaddresslineedit AUTOMOC LINK kabc-shared )
tde_add_check_executable( bigread AUTOMOC LINK kabc_file-shared )
tde_add_check_executable( bigwrite AUTOMOC LINK kabc_file-shared )
# FIXME Skip build due to sql plugin is turned off permanently and unmaintained
# tde_add_check_executable( testdb AUTOMOC LINK kabc_file-shared )
tde_add_check_executable( kabcargl AUTOMOC LINK kabc_file-shared )
add_test( testldapclient testldapclient )
|