Warning, /pim/kdepim-runtime/resources/shared/singlefileresource/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 add_definitions(-DTRANSLATION_DOMAIN=\"akonadi_singlefile_resource\") 0003 0004 set( AKONADI_SINGLEFILERESOURCE_SHARED_SOURCES 0005 singlefileresourcebase.cpp singlefileresourcebase.h 0006 singlefileresourceconfigwidgetbase.cpp singlefileresourceconfigwidgetbase.h 0007 ) 0008 0009 set( AKONADI_SINGLEFILERESOURCE_SHARED_UI 0010 singlefileresourceconfigwidget_desktop.ui 0011 singlefileresourceconfigwidget.ui 0012 ) 0013 0014 set( AKONADI_COLLECTIONATTRIBUTES_SHARED_SOURCES 0015 collectionflagsattribute.cpp 0016 collectionflagsattribute.h 0017 ) 0018 0019 set( AKONADI_IMAPATTRIBUTES_SHARED_SOURCES 0020 imapaclattribute.cpp 0021 imapquotaattribute.cpp 0022 imapaclattribute.h 0023 imapquotaattribute.h 0024 ) 0025 0026 0027 set(akonadi-singlefileresource_SRCS 0028 ${AKONADI_SINGLEFILERESOURCE_SHARED_SOURCES} 0029 ${AKONADI_COLLECTIONATTRIBUTES_SHARED_SOURCES} 0030 ${AKONADI_IMAPATTRIBUTES_SHARED_SOURCES} 0031 createandsettagsjob.cpp createandsettagsjob.h 0032 ) 0033 0034 ki18n_wrap_ui(akonadi-singlefileresource_SRCS ${AKONADI_SINGLEFILERESOURCE_SHARED_UI} settingsdialog.ui) 0035 0036 add_library(akonadi-singlefileresource ${akonadi-singlefileresource_SRCS} ) 0037 generate_export_header(akonadi-singlefileresource BASE_NAME akonadi-singlefileresource) 0038 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0039 set_target_properties(akonadi-singlefileresource PROPERTIES UNITY_BUILD ON) 0040 endif() 0041 0042 target_link_libraries(akonadi-singlefileresource 0043 PUBLIC 0044 KF6::I18n 0045 KF6::Completion 0046 KF6::KIOWidgets 0047 KF6::ConfigWidgets 0048 PRIVATE 0049 KPim6::AkonadiCore 0050 KPim6::AkonadiAgentBase 0051 KF6::KIOCore 0052 KPim6::IMAP 0053 ) 0054 0055 set_target_properties(akonadi-singlefileresource PROPERTIES VERSION ${KDEPIMRUNTIME_LIB_VERSION} SOVERSION ${KDEPIMRUNTIME_LIB_SOVERSION} ) 0056 install(TARGETS akonadi-singlefileresource ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) 0057 0058 if (BUILD_TESTING) 0059 add_subdirectory(autotests) 0060 endif()