summaryrefslogtreecommitdiffstats
path: root/tdewallet/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tdewallet/tests')
-rw-r--r--tdewallet/tests/CMakeLists.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/tdewallet/tests/CMakeLists.txt b/tdewallet/tests/CMakeLists.txt
new file mode 100644
index 000000000..a5f9435be
--- /dev/null
+++ b/tdewallet/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}/tdewallet/client
+ ${CMAKE_BINARY_DIR}/tdecore
+ ${CMAKE_SOURCE_DIR}/tdecore
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+add_definitions (
+ -DKDE_NO_COMPAT
+ -DQT_NO_COMPAT
+ -DQT_NO_ASCII_CAST
+)
+
+tde_add_check_executable( tdewalletsync AUTOMOC LINK tdewalletclient-shared )
+tde_add_check_executable( tdewalletasync AUTOMOC
+ SOURCES tdewalletasync.cpp tdewallettest.cpp
+ LINK tdewalletclient-shared )
+tde_add_check_executable( tdewalletaboth AUTOMOC
+ SOURCES tdewalletboth.cpp tdewallettest.cpp
+ LINK tdewalletclient-shared )