summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/imapresource/tests/CMakeLists.txt')
-rw-r--r--examples/imapresource/tests/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/imapresource/tests/CMakeLists.txt b/examples/imapresource/tests/CMakeLists.txt
new file mode 100644
index 0000000..cdd5fcb
--- /dev/null
+++ b/examples/imapresource/tests/CMakeLists.txt
@@ -0,0 +1,21 @@
1set(CMAKE_AUTOMOC ON)
2include_directories(
3 ${CMAKE_CURRENT_BINARY_DIR}
4 )
5
6macro(auto_tests)
7 foreach(_testname ${ARGN})
8 add_executable(${_testname} ${_testname}.cpp)
9 # generate_flatbuffers(${_testname} calendar)
10 add_test(${_testname} ${_testname})
11 qt5_use_modules(${_testname} Core Test Concurrent)
12 target_link_libraries(${_testname} sink libhawd)
13 endforeach(_testname)
14endmacro(auto_tests)
15
16auto_tests (
17 imapresourcetest
18)
19target_link_libraries(imapresourcetest sink_resource_imap)
20
21install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/resetmailbox.sh DESTINATION bin PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ)