Warning, /pim/kimap/autotests/kimaptest/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: none
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 kde_enable_exceptions()
0005 
0006 set(kimaptest_SRCS
0007    fakeserver.cpp
0008    mockjob.cpp
0009    sslserver.cpp
0010 )
0011 
0012 add_library(kimaptest6 STATIC ${kimaptest_SRCS})
0013 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0014     set_target_properties(kimaptest6 PROPERTIES UNITY_BUILD ON)
0015 endif()
0016 generate_export_header(kimaptest6)
0017 add_library(KPim6::kimaptest ALIAS kimaptest6)
0018 target_include_directories(KPim6IMAP INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/KPim6/KIMAPTest>")
0019 target_link_libraries(kimaptest6 KPim6IMAP Qt::Test Qt::Network Qt::Core KF6::CoreAddons KF6::KIOCore KF6::I18n)
0020 
0021 install(TARGETS kimaptest6 EXPORT KPim6IMAPTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0022 
0023 ########### install files ###############
0024 
0025 install(FILES
0026   fakeserver.h
0027   mockjob.h
0028   DESTINATION ${KDE_INSTALL_INCLUDEDIR}/KPim6/KIMAPTest/kimaptest COMPONENT Devel)