summaryrefslogtreecommitdiffstats
path: root/kwallet/tests
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-12-21 01:13:31 +0300
committerSlávek Banko <slavek.banko@axis.cz>2017-07-22 15:56:51 +0200
commit73423048c5291d285a0a5142d5b89b2b2e14819b (patch)
treef01f1be8607cc54d91d7e366247cbb49b61a2e77 /kwallet/tests
parent933dc8a3f8b14eff9c51c1a7ece8c29754ad378a (diff)
downloadtdelibs-73423048c5291d285a0a5142d5b89b2b2e14819b.tar.gz
tdelibs-73423048c5291d285a0a5142d5b89b2b2e14819b.zip
tdeui & tdewallet: add tests
Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 16a176dab1e978bef8f8d49801fa98a028d1d17b)
Diffstat (limited to 'kwallet/tests')
-rw-r--r--kwallet/tests/CMakeLists.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/kwallet/tests/CMakeLists.txt b/kwallet/tests/CMakeLists.txt
new file mode 100644
index 000000000..88dea2666
--- /dev/null
+++ b/kwallet/tests/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (C) 2016 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/dcop
+ ${CMAKE_SOURCE_DIR}/kwallet/client
+ ${CMAKE_BINARY_DIR}/kdecore
+ ${CMAKE_SOURCE_DIR}/kdecore
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+add_definitions (
+ -DKDE_NO_COMPAT
+ -DQT_NO_COMPAT
+ -DQT_NO_ASCII_CAST
+)
+
+tde_add_check_executable( kwalletsync AUTOMOC LINK kwalletclient-shared )
+tde_add_check_executable( kwalletasync AUTOMOC
+ SOURCES kwalletasync.cpp kwallettest.cpp
+ LINK kwalletclient-shared )
+tde_add_check_executable( kwalletaboth AUTOMOC
+ SOURCES kwalletboth.cpp kwallettest.cpp
+ LINK kwalletclient-shared )