Warning, /network/choqok/libchoqok/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_library(choqok SHARED) 0002 0003 set_target_properties(choqok PROPERTIES 0004 VERSION 1.3.0 0005 SOVERSION 1 0006 ) 0007 0008 if(MSVC) 0009 set_target_properties(choqok PROPERTIES OUTPUT_NAME libchoqok) 0010 endif(MSVC) 0011 0012 generate_export_header(choqok) 0013 0014 ecm_qt_declare_logging_category(choqok 0015 HEADER libchoqokdebug.h 0016 IDENTIFIER CHOQOK 0017 CATEGORY_NAME org.kde.choqok.lib 0018 DESCRIPTION "choqok library" 0019 EXPORT CHOQOK 0020 ) 0021 0022 set(choqok_dbus_SRCS) 0023 qt_add_dbus_adaptor(choqok_dbus_SRCS org.kde.choqok.xml dbushandler.h Choqok::DbusHandler ChoqokAdaptor) 0024 0025 target_sources(choqok PRIVATE 0026 ${choqok_dbus_SRCS} 0027 application.cpp 0028 plugin.cpp 0029 shortener.cpp 0030 uploader.cpp 0031 account.cpp 0032 microblog.cpp 0033 pluginmanager.cpp 0034 shortenmanager.cpp 0035 accountmanager.cpp 0036 passwordmanager.cpp 0037 mediamanager.cpp 0038 notifymanager.cpp 0039 choqokuiglobal.cpp 0040 choqoktools.cpp 0041 dbushandler.cpp 0042 urlutils.cpp 0043 ui/microblogwidget.cpp 0044 ui/editaccountwidget.cpp 0045 ui/timelinewidget.cpp 0046 ui/postwidget.cpp 0047 ui/choqoktextedit.cpp 0048 ui/composerwidget.cpp 0049 ui/quickpost.cpp 0050 ui/choqokmainwindow.cpp 0051 ui/uploadmediadialog.cpp 0052 ui/textbrowser.cpp 0053 ui/choqoktabbar.cpp 0054 ) 0055 0056 #if(QtIndicate_FOUND) 0057 # set(choqok_LIB_SRCS ${choqok_LIB_SRCS} indicatormanager.cpp) 0058 # include_directories(${QTINDICATE_INCLUDE_DIRS}) 0059 # add_definitions(-DQTINDICATE_BUILD) 0060 #endif(QtIndicate_FOUND) 0061 0062 kconfig_add_kcfg_files(choqok 0063 choqokbehaviorsettings.kcfgc 0064 choqokappearancesettings.kcfgc 0065 ) 0066 0067 ki18n_wrap_ui(choqok ui/uploadmedia_base.ui) 0068 0069 target_link_libraries(choqok 0070 PUBLIC 0071 Qt::Core 0072 Qt::DBus 0073 Qt::NetworkAuth 0074 Qt::Widgets 0075 KF5::ConfigCore 0076 KF5::Emoticons 0077 KF5::GuiAddons 0078 KF5::I18n 0079 KF5::KIOCore 0080 KF5::KIOFileWidgets 0081 KF5::KCMUtils 0082 KF5::JobWidgets 0083 KF5::Notifications 0084 KF5::SonnetCore 0085 KF5::TextWidgets 0086 KF5::XmlGui 0087 KF5::Wallet 0088 ) 0089 0090 #if(QtIndicate_FOUND) 0091 # add_definitions(-DXDG_APPS_INSTALL_DIR=${KDE_INSTALL_APPDIR}) 0092 # target_link_libraries(choqok ${QTINDICATE_LIBRARY}) 0093 #endif(QtIndicate_FOUND) 0094 0095 target_include_directories(choqok PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/ui>") 0096 0097 install(FILES choqokbehaviorsettings.kcfg choqokappearancesettings.kcfg 0098 DESTINATION ${KDE_INSTALL_KCFGDIR}) 0099 0100 install(TARGETS choqok ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0101 0102 install(FILES 0103 ${CMAKE_CURRENT_BINARY_DIR}/choqokbehaviorsettings.h 0104 ${CMAKE_CURRENT_BINARY_DIR}/choqokappearancesettings.h 0105 ${CMAKE_CURRENT_BINARY_DIR}/choqok_export.h 0106 application.h 0107 account.h 0108 accountmanager.h 0109 choqoktypes.h 0110 choqokuiglobal.h 0111 mediamanager.h 0112 microblog.h 0113 notifymanager.h 0114 passwordmanager.h 0115 plugin.h 0116 pluginmanager.h 0117 shortener.h 0118 uploader.h 0119 shortenmanager.h 0120 dbushandler.h 0121 choqoktools.h 0122 ui/choqoktextedit.h 0123 ui/composerwidget.h 0124 ui/editaccountwidget.h 0125 ui/choqokmainwindow.h 0126 ui/microblogwidget.h 0127 ui/postwidget.h 0128 ui/quickpost.h 0129 ui/timelinewidget.h 0130 ui/uploadmediadialog.h 0131 ui/textbrowser.h 0132 ui/choqoktabbar.h 0133 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/choqok COMPONENT Devel)