|
|
@ -31,86 +31,25 @@ include_directories(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
link_directories(
|
|
|
|
link_directories(
|
|
|
|
${TDECORE_LIBRARY_DIRS}
|
|
|
|
${TQT_LIBRARY_DIRS}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
set( TDEABC_TESTS_LINK
|
|
|
|
|
|
|
|
${TQT_LIBRARIES}
|
|
|
|
|
|
|
|
DCOP-shared
|
|
|
|
|
|
|
|
kdecore-shared
|
|
|
|
|
|
|
|
kdeui-shared
|
|
|
|
|
|
|
|
kdefx-shared
|
|
|
|
|
|
|
|
kio-shared
|
|
|
|
|
|
|
|
ktexteditor-shared
|
|
|
|
|
|
|
|
kabc-shared
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### test programs ##############################
|
|
|
|
##### test programs ##############################
|
|
|
|
|
|
|
|
|
|
|
|
tde_add_executable( testlock
|
|
|
|
tde_add_check_executable( testlock AUTOMOC LINK kabc-shared )
|
|
|
|
SOURCES testlock.cpp AUTOMOC
|
|
|
|
tde_add_check_executable( testldapclient AUTOMOC LINK kabc-shared )
|
|
|
|
LINK ${TDEABC_TESTS_LINK}
|
|
|
|
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_executable( testldapclient
|
|
|
|
tde_add_check_executable( testaddressee AUTOMOC LINK kabc-shared )
|
|
|
|
SOURCES testldapclient.cpp AUTOMOC
|
|
|
|
tde_add_check_executable( testaddresseelist AUTOMOC LINK kabc-shared )
|
|
|
|
LINK ${TDEABC_TESTS_LINK}
|
|
|
|
tde_add_check_executable( testaddressfmt AUTOMOC LINK kabc-shared )
|
|
|
|
)
|
|
|
|
tde_add_check_executable( testaddresslineedit AUTOMOC LINK kabc-shared )
|
|
|
|
|
|
|
|
|
|
|
|
tde_add_executable( testkabc
|
|
|
|
tde_add_check_executable( bigread AUTOMOC LINK kabc_file-shared )
|
|
|
|
SOURCES testkabc.cpp AUTOMOC
|
|
|
|
tde_add_check_executable( bigwrite AUTOMOC LINK kabc_file-shared )
|
|
|
|
LINK ${TDEABC_TESTS_LINK}
|
|
|
|
# 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_executable( testaddressee
|
|
|
|
|
|
|
|
SOURCES testaddressee.cpp AUTOMOC
|
|
|
|
add_test( testldapclient testldapclient )
|
|
|
|
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} kabc_file-shared
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tde_add_executable( bigwrite
|
|
|
|
|
|
|
|
SOURCES bigwrite.cpp AUTOMOC
|
|
|
|
|
|
|
|
LINK ${TDEABC_TESTS_LINK} kabc_file-shared
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Plugin ResourceSql is not built == can not be tested
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# tde_add_executable( testdb
|
|
|
|
|
|
|
|
# SOURCES testdb.cpp AUTOMOC
|
|
|
|
|
|
|
|
# LINK ${TDEABC_TESTS_LINK} kabc_file-shared
|
|
|
|
|
|
|
|
# )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tde_add_executable( kabcargl
|
|
|
|
|
|
|
|
SOURCES kabcargl.cpp AUTOMOC
|
|
|
|
|
|
|
|
LINK ${TDEABC_TESTS_LINK} kabc_file-shared
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|