Warning, /pim/kdepim-runtime/resources/icaldir/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 add_definitions(-DTRANSLATION_DOMAIN=\"akonadi_icaldir_resource\") 0003 0004 0005 kconfig_add_kcfg_files(icaldirresource_common_SRCS 0006 settings.kcfgc 0007 ) 0008 ########### next target ############### 0009 0010 set( icaldirresource_SRCS 0011 icaldirresource.cpp 0012 icaldirresource.h 0013 ${icaldirresource_common_SRCS} 0014 ) 0015 0016 kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/icaldirresource.kcfg org.kde.Akonadi.ICalDirectory.Settings) 0017 qt_add_dbus_adaptor(icaldirresource_SRCS 0018 ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Akonadi.ICalDirectory.Settings.xml settings.h IcalDirResourceSettings 0019 ) 0020 0021 install( FILES icaldirresource.desktop DESTINATION "${KDE_INSTALL_DATAROOTDIR}/akonadi/agents" ) 0022 0023 add_executable(akonadi_icaldir_resource ${icaldirresource_SRCS}) 0024 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0025 set_target_properties(akonadi_icaldir_resource PROPERTIES UNITY_BUILD ON) 0026 endif() 0027 0028 if( APPLE ) 0029 set_target_properties(akonadi_icaldir_resource PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../Info.plist.template) 0030 set_target_properties(akonadi_icaldir_resource PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.Akonadi.ICalDirectory") 0031 set_target_properties(akonadi_icaldir_resource PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "KDE Akonadi ICalDirectory Resource") 0032 endif () 0033 0034 0035 target_link_libraries(akonadi_icaldir_resource 0036 KPim6::AkonadiCore 0037 KPim6::AkonadiAgentBase 0038 KF6::CalendarCore 0039 KF6::I18n 0040 KF6::TextWidgets 0041 KF6::KIOWidgets 0042 KF6::ConfigWidgets 0043 ) 0044 0045 install(TARGETS akonadi_icaldir_resource ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0046 0047 ############################## Config plugin ################################ 0048 kcoreaddons_add_plugin(icaldirconfig 0049 INSTALL_NAMESPACE "pim6/akonadi/config" 0050 ) 0051 ki18n_wrap_ui(icaldirconfig icaldirsagentsettingswidget.ui) 0052 0053 target_sources(icaldirconfig PRIVATE 0054 icaldirsettingswidget.cpp 0055 icaldirsettingswidget.h 0056 ${icaldirresource_common_SRCS} 0057 ) 0058 0059 0060 target_link_libraries(icaldirconfig 0061 KPim6::AkonadiCore 0062 KF6::CalendarCore 0063 KPim6::AkonadiAgentBase 0064 KF6::Contacts 0065 KPim6::AkonadiWidgets 0066 KF6::I18n 0067 KF6::KIOWidgets 0068 KF6::TextWidgets 0069 )