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 if (NOT ANDROID) 0005 add_subdirectory(kioworkers) 0006 add_subdirectory(kiod) 0007 add_subdirectory(kssld) 0008 add_subdirectory(schemehandlers) 0009 endif() 0010 add_subdirectory(kioworker) 0011 0012 if (NOT KIOCORE_ONLY) 0013 add_subdirectory(gui) 0014 add_subdirectory(widgets) 0015 if (NOT ANDROID) 0016 add_subdirectory(kpasswdserver) 0017 add_subdirectory(filewidgets) 0018 add_subdirectory(kioexec) 0019 add_subdirectory(urifilters) 0020 endif() 0021 0022 set(NON_KIOCORE_LINK_QCHS 0023 Qt6Widgets_QCH 0024 Qt6Network_QCH 0025 KF6Completion_QCH 0026 KF6WidgetsAddons_QCH 0027 KF6JobWidgets_QCH 0028 KF6Bookmarks_QCH 0029 KF6ItemViews_QCH 0030 KF6Solid_QCH 0031 KF6WindowSystem_QCH 0032 ) 0033 0034 if(BUILD_DESIGNERPLUGIN AND NOT ANDROID) 0035 add_subdirectory(designer) 0036 endif() 0037 0038 endif() 0039 0040 ecm_qt_install_logging_categories( 0041 EXPORT KIO 0042 FILE kio.categories 0043 DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} 0044 ) 0045 0046 if (BUILD_QCH) 0047 macro(_make_absolute var_name base_path) 0048 set(_result) 0049 foreach(_path ${${var_name}}) 0050 if(IS_ABSOLUTE "${_path}") 0051 list(APPEND _result "${_path}") 0052 else() 0053 list(APPEND _result "${base_path}/${_path}") 0054 endif() 0055 endforeach() 0056 set(${var_name} ${_result}) 0057 endmacro() 0058 0059 _make_absolute(KIOCore_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/core") 0060 _make_absolute(KIOGui_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/gui") 0061 _make_absolute(KIOWidgets_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/widgets") 0062 _make_absolute(KIOFileWidgets_QCH_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/filewidgets") 0063 0064 ecm_add_qch( 0065 KF6KIO_QCH 0066 NAME KIO 0067 BASE_NAME KF6KIO 0068 VERSION ${KF_VERSION} 0069 ORG_DOMAIN org.kde 0070 SOURCES # using only public headers, to cover only public API 0071 ${KIOCore_QCH_SOURCES} 0072 ${KIOGui_QCH_SOURCES} 0073 ${KIOWidgets_QCH_SOURCES} 0074 ${KIOFileWidgets_QCH_SOURCES} 0075 MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md" 0076 IMAGE_DIRS "${CMAKE_SOURCE_DIR}/docs/pics" 0077 LINK_QCHS 0078 KF6CoreAddons_QCH 0079 KF6Service_QCH 0080 ${NON_KIOCORE_LINK_QCHS} 0081 BLANK_MACROS 0082 KIOCORE_EXPORT 0083 KIOCORE_DEPRECATED_EXPORT 0084 KIOCORE_DEPRECATED 0085 "KIOCORE_DEPRECATED_VERSION(x, y, t)" 0086 "KIOCORE_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" 0087 "KIOCORE_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" 0088 "KIOCORE_ENUMERATOR_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" 0089 KIOGUI_EXPORT 0090 KIOGUI_DEPRECATED_EXPORT 0091 KIOGUI_DEPRECATED 0092 "KIOGUI_DEPRECATED_VERSION(x, y, t)" 0093 "KIOGUI_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t))" 0094 "KIOGUI_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" 0095 "KIOGUI_ENUMERATOR_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t))" 0096 KIOWIDGETS_EXPORT 0097 KIOWIDGETS_DEPRECATED_EXPORT 0098 KIOWIDGETS_DEPRECATED 0099 "KIOWIDGETS_DEPRECATED_VERSION(x, y, t)" 0100 "KIOWIDGETS_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" 0101 "KIOWIDGETS_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" 0102 "KIOWIDGETS_ENUMERATOR_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" 0103 KIOFILEWIDGETS_EXPORT 0104 KIOFILEWIDGETS_DEPRECATED_EXPORT 0105 KIOFILEWIDGETS_DEPRECATED 0106 "KIOFILEWIDGETS_DEPRECATED_VERSION(x, y, t)" 0107 "KIOFILEWIDGETS_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t))" 0108 "KIOFILEWIDGETS_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" 0109 "KIOFILEWIDGETS_ENUMERATOR_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t))" 0110 PREDEFINED_MACROS 0111 "KIOCORE_ENABLE_DEPRECATED_SINCE(x, y)=1" 0112 "KIOCORE_BUILD_DEPRECATED_SINCE(x, y)=1" 0113 "KIOGUI_ENABLE_DEPRECATED_SINCE(x, y)=1" 0114 "KIOGUI_BUILD_DEPRECATED_SINCE(x, y)=1" 0115 "KIOWIDGETS_ENABLE_DEPRECATED_SINCE(x, y)=1" 0116 "KIOWIDGETS_BUILD_DEPRECATED_SINCE(x, y)=1" 0117 "KIOFILEWIDGETS_ENABLE_DEPRECATED_SINCE(x, y)=1" 0118 "KIOFILEWIDGETS_BUILD_DEPRECATED_SINCE(x, y)=1" 0119 TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} 0120 QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} 0121 COMPONENT Devel 0122 ) 0123 endif()