Warning, /graphics/colord-kde/colord-kded/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories(${CMAKE_SOURCE_DIR}/colord-kded 0002 ${CMAKE_BUILD_DIR} 0003 ) 0004 0005 add_definitions(-DPROJECT_NAME=\"${PROJECT_NAME}\") 0006 0007 kcoreaddons_add_plugin(kded_colord INSTALL_NAMESPACE kf${QT_MAJOR_VERSION}/kded) 0008 0009 target_sources(kded_colord PRIVATE 0010 DmiUtils.cpp 0011 Edid.cpp 0012 Output.cpp 0013 ProfileUtils.cpp 0014 XEventHandler.cpp 0015 ProfilesWatcher.cpp 0016 ColorD.cpp 0017 0018 DmiUtils.h 0019 Edid.h 0020 Output.h 0021 ProfileUtils.h 0022 XEventHandler.h 0023 ProfilesWatcher.h 0024 ColorD.h 0025 ) 0026 0027 set(COLORD_INTERFACE_XML ${CMAKE_SOURCE_DIR}/colord-tmp-interfaces/org.freedesktop.ColorManager.xml) 0028 set(COLORD_DEVICE_INTERFACE_XML ${CMAKE_SOURCE_DIR}/colord-tmp-interfaces/org.freedesktop.ColorManager.Device.xml) 0029 set(COLORD_PROFILE_INTERFACE_XML ${CMAKE_SOURCE_DIR}/colord-tmp-interfaces/org.freedesktop.ColorManager.Profile.xml) 0030 0031 set_source_files_properties(${COLORD_INTERFACE_XML} PROPERTIES INCLUDE "dbus-types.h") 0032 set_source_files_properties(${COLORD_INTERFACE_XML} PROPERTIES NO_NAMESPACE true) 0033 set_source_files_properties(${COLORD_INTERFACE_XML} PROPERTIES CLASSNAME CdInterface) 0034 qt_add_dbus_interface(dbus_SRCS ${COLORD_INTERFACE_XML} CdInterface) 0035 0036 set_source_files_properties(${COLORD_DEVICE_INTERFACE_XML} PROPERTIES INCLUDE "dbus-types.h") 0037 set_source_files_properties(${COLORD_DEVICE_INTERFACE_XML} PROPERTIES NO_NAMESPACE true) 0038 set_source_files_properties(${COLORD_DEVICE_INTERFACE_XML} PROPERTIES CLASSNAME CdDeviceInterface) 0039 qt_add_dbus_interface(dbus_SRCS ${COLORD_DEVICE_INTERFACE_XML} CdDeviceInterface) 0040 0041 set_source_files_properties(${COLORD_PROFILE_INTERFACE_XML} PROPERTIES INCLUDE "dbus-types.h") 0042 set_source_files_properties(${COLORD_PROFILE_INTERFACE_XML} PROPERTIES NO_NAMESPACE true) 0043 set_source_files_properties(${COLORD_PROFILE_INTERFACE_XML} PROPERTIES CLASSNAME CdProfileInterface) 0044 qt_add_dbus_interface(dbus_SRCS ${COLORD_PROFILE_INTERFACE_XML} CdProfileInterface) 0045 0046 target_sources(kded_colord PRIVATE ${dbus_SRCS}) 0047 0048 target_link_libraries(kded_colord 0049 Qt::Core 0050 Qt::Widgets 0051 Qt::DBus 0052 KF6::CoreAddons 0053 KF6::DBusAddons 0054 KF6::WindowSystem 0055 X11::X11 0056 X11::Xrandr 0057 PkgConfig::LCMS2 0058 ) 0059 0060 set_target_properties(kded_colord PROPERTIES OUTPUT_NAME colord)