summaryrefslogtreecommitdiffstats
path: root/tdeabc/tests/CMakeLists.txt
blob: 56d4a712430adb692a6e280faa9f7fdd07f7abe2 (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
#################################################
#
#  (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(
  ${TQT_LIBRARY_DIRS}
)

##### test programs ##############################

tde_add_check_executable( testlock            AUTOMOC LINK tdeabc-shared )
tde_add_check_executable( testkabc            AUTOMOC LINK tdeabc-shared )
tde_add_check_executable( testkabcdlg         AUTOMOC LINK tdeabc-shared )
tde_add_check_executable( testdistlist        AUTOMOC LINK tdeabc-shared )
tde_add_check_executable( testaddressee       AUTOMOC LINK tdeabc-shared )
tde_add_check_executable( testaddresseelist   AUTOMOC LINK tdeabc-shared )
tde_add_check_executable( testaddressfmt      AUTOMOC LINK tdeabc-shared )
tde_add_check_executable( testaddresslineedit AUTOMOC LINK tdeabc-shared )

tde_add_check_executable( bigread  AUTOMOC LINK tdeabc_file-shared )
tde_add_check_executable( bigwrite AUTOMOC LINK tdeabc_file-shared )
# FIXME Skip build due to sql plugin is turned off permanently and unmaintained
# tde_add_check_executable( testdb   AUTOMOC LINK tdeabc_file-shared )
tde_add_check_executable( kabcargl AUTOMOC LINK tdeabc_file-shared )

tde_add_check_executable( testldapclient      AUTOMOC LINK tdeabc-shared TEST)