diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-22 13:10:39 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-22 13:10:39 +0200 |
commit | 6864e4accaafa4fa90332719bff5a85a0e92b242 (patch) | |
tree | 31c0d6df98112674e55ea5ad636c2ad780add49c /examples/imapresource/tests/CMakeLists.txt | |
parent | de52c17a7a08e72affc4c182fb1650d18d8b3b2b (diff) | |
download | sink-6864e4accaafa4fa90332719bff5a85a0e92b242.tar.gz sink-6864e4accaafa4fa90332719bff5a85a0e92b242.zip |
ImapResource prototype
Diffstat (limited to 'examples/imapresource/tests/CMakeLists.txt')
-rw-r--r-- | examples/imapresource/tests/CMakeLists.txt | 21 |
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 @@ | |||
1 | set(CMAKE_AUTOMOC ON) | ||
2 | include_directories( | ||
3 | ${CMAKE_CURRENT_BINARY_DIR} | ||
4 | ) | ||
5 | |||
6 | macro(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) | ||
14 | endmacro(auto_tests) | ||
15 | |||
16 | auto_tests ( | ||
17 | imapresourcetest | ||
18 | ) | ||
19 | target_link_libraries(imapresourcetest sink_resource_imap) | ||
20 | |||
21 | install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/resetmailbox.sh DESTINATION bin PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ) | ||