summaryrefslogtreecommitdiffstats
path: root/client/test/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2014-12-01 10:36:54 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2014-12-01 10:36:54 +0100
commitaf38dcdf3a836a1b94064a617acac387a2de6539 (patch)
tree7fc6c8b1b43dbbd12890e27a049931b445756098 /client/test/CMakeLists.txt
parent7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00 (diff)
downloadsink-af38dcdf3a836a1b94064a617acac387a2de6539.tar.gz
sink-af38dcdf3a836a1b94064a617acac387a2de6539.zip
ClientAPI is starting to work and has a first test.
Diffstat (limited to 'client/test/CMakeLists.txt')
-rw-r--r--client/test/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/client/test/CMakeLists.txt b/client/test/CMakeLists.txt
new file mode 100644
index 0000000..6453fc5
--- /dev/null
+++ b/client/test/CMakeLists.txt
@@ -0,0 +1,15 @@
1set(CMAKE_AUTOMOC ON)
2include_directories(${CMAKE_CURRENT_BINARY_DIR})
3
4macro(auto_tests)
5 foreach(_testname ${ARGN})
6 add_executable(${_testname} ${_testname}.cpp ${store_SRCS})
7 qt5_use_modules(${_testname} Core Test)
8 target_link_libraries(${_testname} lmdb)
9 add_test(NAME ${_testname} COMMAND ${_testname})
10 endforeach(_testname)
11endmacro(auto_tests)
12
13auto_tests (
14 clientapitest
15)