tdelibs/kabc/tests/CMakeLists.txt

55 lines
1.9 KiB

#################################################
#
# (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( 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 )
tde_add_check_executable( testldapclient AUTOMOC LINK kabc-shared )