Warning, /plasma/wacomtablet/src/common/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"wacomtablet\")
0002 
0003 set(wacom_common_LIBS
0004   Qt::Core
0005   Qt::Gui
0006   Qt::Widgets
0007   KF6::I18n
0008   KF6::GlobalAccel
0009   KF6::ConfigCore
0010   KF6::CoreAddons
0011   XCB::XINPUT
0012   X11::Xi
0013   PkgConfig::LIBWACOM
0014 )
0015 
0016 if(QT_MAJOR_VERSION EQUAL "5")
0017   list(APPEND wacom_common_LIBS Qt::X11Extras)
0018 else()
0019   list(APPEND wacom_common_LIBS Qt::GuiPrivate)
0020 endif()
0021 
0022 set(wacom_common_SRC
0023     aboutdata.cpp
0024     buttonshortcut.cpp
0025     dbustabletinterface.cpp
0026     deviceinformation.cpp
0027     deviceprofile.cpp
0028     deviceprofileconfigadaptor.cpp
0029     deviceprofiledefaults.cpp
0030     deviceproperty.cpp
0031     devicetype.cpp
0032     libwacomwrapper.cpp
0033     mainconfig.cpp
0034     profilemanager.cpp
0035     profilemanagement.cpp
0036     property.cpp
0037     propertyadaptor.cpp
0038     screenrotation.cpp
0039     screenmap.cpp
0040     screensinfo.cpp
0041     screenspace.cpp
0042     stringutils.cpp
0043     tabletarea.cpp
0044     tabletdatabase.cpp
0045     tabletinfo.cpp
0046     tabletinformation.cpp
0047     tabletprofile.cpp
0048     tabletprofileconfigadaptor.cpp
0049     x11input.cpp
0050     x11inputdevice.cpp
0051     x11wacom.cpp
0052 
0053     aboutdata.h
0054     buttonshortcut.h
0055     dbustabletinterface.h
0056     deviceinformation.h
0057     deviceprofile.h
0058     deviceprofileconfigadaptor.h
0059     deviceprofiledefaults.h
0060     deviceproperty.h
0061     devicetype.h
0062     libwacomwrapper.h
0063     mainconfig.h
0064     profilemanager.h
0065     profilemanagement.h
0066     property.h
0067     propertyadaptor.h
0068     screenrotation.h
0069     screenmap.h
0070     screensinfo.h
0071     screenspace.h
0072     stringutils.h
0073     tabletarea.h
0074     tabletdatabase.h
0075     tabletinfo.h
0076     tabletinformation.h
0077     tabletprofile.h
0078     tabletprofileconfigadaptor.h
0079     x11input.h
0080     x11inputdevice.h
0081     x11wacom.h
0082 )
0083 
0084 ecm_qt_declare_logging_category(
0085     wacom_common_SRC
0086     HEADER "logging.h"
0087     DESCRIPTION "wacomtablet (common)"
0088     IDENTIFIER "COMMON"
0089     CATEGORY_NAME "org.kde.wacomtablet.common"
0090     EXPORT WACOMTABLET
0091 )
0092 
0093 qt_add_dbus_interfaces(wacom_common_SRC
0094                         ../kded/org.kde.Wacom.xml)
0095 
0096 add_library( wacom_common STATIC ${wacom_common_SRC})
0097 
0098 target_link_libraries( wacom_common ${wacom_common_LIBS} )
0099 set_target_properties( wacom_common PROPERTIES COMPILE_FLAGS "-fPIC" )