Warning, /frameworks/kio/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_subdirectory(core) 0002 0003 # KIOCore-only executables 0004 add_subdirectory(protocoltojson) 0005 add_subdirectory(kntlm) 0006 if (NOT ANDROID) 0007 add_subdirectory(ioslaves) 0008 add_subdirectory(kioworkers) 0009 add_subdirectory(kiod) 0010 add_subdirectory(kssld) 0011 add_subdirectory(schemehandlers) 0012 endif() 0013 add_subdirectory(kioslave) 0014 0015 if (NOT KIOCORE_ONLY) 0016 add_subdirectory(gui) 0017 add_subdirectory(widgets) 0018 if (NOT ANDROID) 0019 add_subdirectory(kpasswdserver) 0020 add_subdirectory(filewidgets) 0021 add_subdirectory(kioexec) 0022 add_subdirectory(urifilters) 0023 add_subdirectory(kcms) 0024 endif() 0025 0026 if(NOT WIN32 AND NOT ANDROID) 0027 # arpa/nameser.h 0028 add_subdirectory(kpac) 0029 endif() 0030 0031 set(NON_KIOCORE_LINK_QCHS 0032 Qt5Widgets_QCH 0033 Qt5Network_QCH 0034 KF5Completion_QCH 0035 KF5WidgetsAddons_QCH 0036 KF5JobWidgets_QCH 0037 KF5Bookmarks_QCH 0038 KF5ItemViews_QCH 0039 KF5XmlGui_QCH 0040 KF5Solid_QCH 0041 KF5WindowSystem_QCH 0042 ) 0043 0044 if(BUILD_DESIGNERPLUGIN AND NOT ANDROID) 0045 add_subdirectory(designer) 0046 endif() 0047 0048 endif() 0049 0050 ecm_qt_install_logging_categories( 0051 EXPORT KIO 0052 FILE kio.categories 0053 DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} 0054 ) 0055 0056 if (BUILD_QCH) 0057 macro(_make_absolute var_name base_path) 0058 set(_result) 0059 foreach(_path ${${var_name}}) 0060 if(IS_ABSOLUTE "${_path}") 0061 list(APPEND _result "${_path}") 0062 else() 0063 list(APPEND _result "${base_path}/${_path}") 0064 endif() 0065 endforeach() 0066 set(${var_name} ${_result}) 0067 endmacro() 0068 0069 _make_absolute(KIONTLM_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/(kntlm") 0070 _make_absolute(KIOCore_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/core") 0071 _make_absolute(KIOGui_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/gui") 0072 _make_absolute(KIOWidgets_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/widgets") 0073 _make_absolute(KIOFileWidgets_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/filewidgets") 0074 0075 ecm_add_qch( 0076 KF5KIO_QCH 0077 NAME KIO 0078 BASE_NAME KF5KIO 0079 VERSION ${KF_VERSION} 0080 ORG_DOMAIN org.kde 0081 SOURCES # using only public headers, to cover only public API 0082 ${KIONTLM_QCH_SOURCES} 0083 ${KIOCore_QCH_SOURCES} 0084 ${KIOGui_QCH_SOURCES} 0085 ${KIOWidgets_QCH_SOURCES} 0086 ${KIOFileWidgets_QCH_SOURCES} 0087 MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md" 0088 IMAGE_DIRS "${CMAKE_SOURCE_DIR}/docs/pics" 0089 LINK_QCHS 0090 KF5CoreAddons_QCH 0091 KF5Service_QCH 0092 ${NON_KIOCORE_LINK_QCHS} 0093 BLANK_MACROS 0094 KIOCORE_EXPORT 0095 KIOCORE_DEPRECATED_EXPORT 0096 KIOCORE_DEPRECATED 0097 "KIOCORE_DEPRECATED_VERSION(x, y, t)" 0098 "KIOCORE_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" 0099 "KIOCORE_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" 0100 "KIOCORE_ENUMERATOR_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" 0101 KNTLM_EXPORT 0102 "KNTLM_DEPRECATED_VERSION(x, y, t)" 0103 KIOGUI_EXPORT 0104 KIOGUI_DEPRECATED_EXPORT 0105 KIOGUI_DEPRECATED 0106 "KIOGUI_DEPRECATED_VERSION(x, y, t)" 0107 "KIOGUI_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t))" 0108 "KIOGUI_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" 0109 "KIOGUI_ENUMERATOR_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t))" 0110 KIOWIDGETS_EXPORT 0111 KIOWIDGETS_DEPRECATED_EXPORT 0112 KIOWIDGETS_DEPRECATED 0113 "KIOWIDGETS_DEPRECATED_VERSION(x, y, t)" 0114 "KIOWIDGETS_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" 0115 "KIOWIDGETS_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" 0116 "KIOWIDGETS_ENUMERATOR_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" 0117 KIOFILEWIDGETS_EXPORT 0118 KIOFILEWIDGETS_DEPRECATED_EXPORT 0119 KIOFILEWIDGETS_DEPRECATED 0120 "KIOFILEWIDGETS_DEPRECATED_VERSION(x, y, t)" 0121 "KIOFILEWIDGETS_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t))" 0122 "KIOFILEWIDGETS_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" 0123 "KIOFILEWIDGETS_ENUMERATOR_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t))" 0124 PREDEFINED_MACROS 0125 "KIOCORE_ENABLE_DEPRECATED_SINCE(x, y)=1" 0126 "KIOCORE_BUILD_DEPRECATED_SINCE(x, y)=1" 0127 "KNTLM_ENABLE_DEPRECATED_SINCE(x, y)=1" 0128 "KNTLM_BUILD_DEPRECATED_SINCE(x, y)=1" 0129 "KIOGUI_ENABLE_DEPRECATED_SINCE(x, y)=1" 0130 "KIOGUI_BUILD_DEPRECATED_SINCE(x, y)=1" 0131 "KIOWIDGETS_ENABLE_DEPRECATED_SINCE(x, y)=1" 0132 "KIOWIDGETS_BUILD_DEPRECATED_SINCE(x, y)=1" 0133 "KIOFILEWIDGETS_ENABLE_DEPRECATED_SINCE(x, y)=1" 0134 "KIOFILEWIDGETS_BUILD_DEPRECATED_SINCE(x, y)=1" 0135 TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} 0136 QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} 0137 COMPONENT Devel 0138 ) 0139 endif()