Warning, /pim/akonadi-search/debug/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: CC0-1.0 0002 # SPDX-FileCopyrightText: none 0003 add_library(KPim6AkonadiSearchDebug) 0004 add_library(KPim6::AkonadiSearchDebug ALIAS KPim6AkonadiSearchDebug) 0005 0006 target_sources(KPim6AkonadiSearchDebug PRIVATE 0007 akonadisearchdebugdialog.cpp 0008 akonadisearchdebugwidget.cpp 0009 job/akonadisearchdebugsearchjob.cpp 0010 akonadisearchdebugsearchpathcombobox.cpp 0011 akonadisearchsyntaxhighlighter.cpp 0012 0013 akonadisearchdebugdialog.h 0014 akonadisearchdebugwidget.h 0015 job/akonadisearchdebugsearchjob.h 0016 akonadisearchdebugsearchpathcombobox.h 0017 akonadisearchsyntaxhighlighter.h 0018 ) 0019 0020 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0021 set_target_properties(KPim6AkonadiSearchDebug PROPERTIES UNITY_BUILD ON) 0022 endif() 0023 0024 0025 generate_export_header(KPim6AkonadiSearchDebug BASE_NAME AKONADI_SEARCH_DEBUG EXPORT_FILE_NAME search_debug_export.h) 0026 0027 target_link_libraries(KPim6AkonadiSearchDebug 0028 PRIVATE 0029 Qt::Widgets 0030 KF6::I18n 0031 KPim6::AkonadiCore 0032 KF6::WidgetsAddons 0033 KF6::ConfigCore 0034 KF6::Completion 0035 KF6::ConfigGui 0036 ) 0037 set_target_properties(KPim6AkonadiSearchDebug PROPERTIES 0038 VERSION ${AKONADISEARCH_VERSION} 0039 SOVERSION ${AKONADISEARCH_SOVERSION} 0040 EXPORT_NAME AkonadiSearchDebug 0041 ) 0042 0043 target_include_directories(KPim6AkonadiSearchDebug INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/KPim6/AkonadiSearch>") 0044 0045 install(TARGETS KPim6AkonadiSearchDebug EXPORT KPim6AkonadiSearchTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0046 0047 install(FILES 0048 akonadisearchdebugdialog.h 0049 akonadisearchdebugsearchpathcombobox.h 0050 ${CMAKE_CURRENT_BINARY_DIR}/search_debug_export.h 0051 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/KPim6/AkonadiSearch/Debug 0052 COMPONENT Devel 0053 ) 0054 0055 if(BUILD_TESTING) 0056 add_subdirectory(tests) 0057 add_subdirectory(autotests) 0058 endif()