Warning, /frameworks/kio/src/kioexec/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 kcoreaddons_add_plugin(kioexecd 0002 INSTALL_NAMESPACE "kf6/kiod") 0003 0004 set(kioexecd_dbus_SRCS) 0005 qt_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/kioexecd.h org.kde.KIOExecd.xml) 0006 qt_add_dbus_adaptor(kioexecd_dbus_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.KIOExecd.xml kioexecd.h KIOExecd) 0007 0008 target_sources(kioexecd PRIVATE 0009 kioexecd.cpp 0010 ${kioexecd_dbus_SRCS} 0011 ) 0012 0013 ecm_qt_declare_logging_category(kioexecd 0014 HEADER kioexecdebug.h 0015 IDENTIFIER KIOEXEC 0016 CATEGORY_NAME kf.kio.execd 0017 OLD_CATEGORY_NAMES kf5.kio.execd 0018 DESCRIPTION "kioexecd (KIO)" 0019 EXPORT KIO 0020 ) 0021 0022 target_link_libraries(kioexecd KF6::I18n KF6::DBusAddons KF6::WidgetsAddons KF6::KIOCore) 0023 0024 kdbusaddons_generate_dbus_service_file(kiod6 org.kde.kioexecd6 ${KDE_INSTALL_FULL_LIBEXECDIR_KF}) 0025 0026 # next target 0027 0028 add_executable(kioexec) 0029 ecm_mark_nongui_executable(kioexec) 0030 0031 set(kioexec_dbus_SRCS) 0032 qt_add_dbus_interface(kioexec_dbus_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.KIOExecd.xml kioexecdinterface) 0033 0034 target_sources(kioexec PRIVATE 0035 ${kioexec_dbus_SRCS} 0036 main.cpp 0037 ) 0038 0039 configure_file(config-kioexec.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kioexec.h) 0040 0041 target_link_libraries(kioexec 0042 Qt6::Widgets 0043 KF6::I18n 0044 KF6::KIOWidgets # KRun 0045 KF6::WidgetsAddons # KMessageBox 0046 KF6::WindowSystem # KStartupInfo 0047 KF6::DBusAddons # KDBusService 0048 ) 0049 0050 if (HAVE_X11) 0051 target_link_libraries(kioexec Qt6::GuiPrivate) # qtx11extras_p.h 0052 endif() 0053 0054 install(TARGETS kioexec DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF} ) 0055