diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-12-01 10:36:54 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-12-01 10:36:54 +0100 |
commit | af38dcdf3a836a1b94064a617acac387a2de6539 (patch) | |
tree | 7fc6c8b1b43dbbd12890e27a049931b445756098 /client/test/CMakeLists.txt | |
parent | 7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00 (diff) | |
download | sink-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.txt | 15 |
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 @@ | |||
1 | set(CMAKE_AUTOMOC ON) | ||
2 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
3 | |||
4 | macro(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) | ||
11 | endmacro(auto_tests) | ||
12 | |||
13 | auto_tests ( | ||
14 | clientapitest | ||
15 | ) | ||