From 51efac909d7b116c8b0ca58fcd4e74ff58f31091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 29 May 2016 02:24:21 +0200 Subject: cmake: Add tdeabc tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdeabc/tests/CMakeLists.txt | 116 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 tdeabc/tests/CMakeLists.txt (limited to 'tdeabc/tests/CMakeLists.txt') diff --git a/tdeabc/tests/CMakeLists.txt b/tdeabc/tests/CMakeLists.txt new file mode 100644 index 000000000..bedc4b115 --- /dev/null +++ b/tdeabc/tests/CMakeLists.txt @@ -0,0 +1,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 +) -- cgit v1.2.1