summaryrefslogtreecommitdiffstats
path: root/store/test/CMakeLists.txt
blob: 4743cfb1d57e931f40c44497eac968b1813351fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)
        target_link_libraries(${_testname} lmdb)
    endforeach(_testname)
endmacro(auto_tests)

manual_tests (
    storagebenchmark
)