Warning, /plasma-mobile/raven/src/mimetreeparser/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2017 Christian Mollekopf <mollekopf@kolabsys.com> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 0004 add_subdirectory(gnupg_home) 0005 add_definitions( -DMAIL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/../testdata" ) 0006 include(${CMAKE_SOURCE_DIR}/cmake/modules/add_gpg_crypto_test.cmake) 0007 include_directories( 0008 ${CMAKE_CURRENT_BINARY_DIR} 0009 ${CMAKE_CURRENT_SOURCE_DIR}/.. 0010 ) 0011 include_directories(${GPGME_INCLUDE_DIRS}) 0012 0013 include(ECMAddTests) 0014 0015 add_executable(mimetreeparsertest mimetreeparsertest.cpp) 0016 add_gpg_crypto_test(mimetreeparsertest mimetreeparsertest) 0017 target_link_libraries(mimetreeparsertest 0018 Qt5::Core 0019 Qt5::Test 0020 KF5::Mime 0021 kalendar_lib 0022 KF5::MailCommon 0023 KF5::AkonadiMime 0024 kalendar_mail_plugin 0025 ) 0026 0027 add_executable(gpgerrortest gpgerrortest.cpp) 0028 target_link_libraries(gpgerrortest 0029 Qt5::Core 0030 Qt5::Test 0031 KF5::Mime 0032 kalendar_lib 0033 KF5::MailCommon 0034 KF5::AkonadiMime 0035 kalendar_mail_plugin 0036 ) 0037 add_test(NAME gpgerrortest COMMAND $<TARGET_FILE:gpgerrortest>)