summaryrefslogtreecommitdiffstats
path: root/store/test/CMakeLists.txt
blob: c5c4fcb0f00b16c3670632a88e0f1bc594e87fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set(CMAKE_AUTOMOC ON)
include_directories(${CMAKE_CURRENT_BINARY_DIR})

set(store_path "../")
set(store_SRCS
    ${store_path}/database.cpp
)

generate_flatbuffers(calendar)

macro(manual_tests)
    foreach(_testname ${ARGN})
        add_executable(${_testname} ${_testname}.cpp ${store_SRCS})
        qt5_use_modules(${_testname} Core Test Concurrent)
        target_link_libraries(${_testname} lmdb)
    endforeach(_testname)
endmacro(auto_tests)

manual_tests (
    storagebenchmark
    storagetest
)