diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-05 09:17:46 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-05 09:17:46 +0100 |
commit | 767312e2063f4e58af3de0f27aba52de49e14295 (patch) | |
tree | 8375b55e3496ece33f59de486f3354d731b6bc1e /tests/CMakeLists.txt | |
parent | 2b4e5743cca6a59e6e1a32b03863bf5ec4a4c30f (diff) | |
download | sink-767312e2063f4e58af3de0f27aba52de49e14295.tar.gz sink-767312e2063f4e58af3de0f27aba52de49e14295.zip |
major reorg that puts Storage (previously Database) into common
there is now a top-level tests dir, and a compile time switch for
lmdb vs kyotocabinet
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..23776a1 --- /dev/null +++ b/tests/CMakeLists.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | set(CMAKE_AUTOMOC ON) | ||
2 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
3 | |||
4 | generate_flatbuffers(calendar) | ||
5 | |||
6 | macro(manual_tests) | ||
7 | foreach(_testname ${ARGN}) | ||
8 | add_executable(${_testname} ${_testname}.cpp) | ||
9 | qt5_use_modules(${_testname} Core Test) | ||
10 | target_link_libraries(${_testname} akonadinextcommon) | ||
11 | endforeach(_testname) | ||
12 | endmacro(manual_tests) | ||
13 | |||
14 | manual_tests ( | ||
15 | storagebenchmark | ||
16 | ) | ||