Warning, /plasma/wacomtablet/src/kcmodule/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ########### next target ###############
0002
0003 set( kcm_tablet_SRCS
0004 areaselectionwidget.cpp
0005 buttonactiondisplaywidget.cpp
0006 buttonactionselectiondialog.cpp
0007 buttonactionselectionwidget.cpp
0008 buttonactionselectorwidget.cpp
0009 buttonpagewidget.cpp
0010 calibrationdialog.cpp
0011 generalpagewidget.cpp
0012 kcmwacomtabletwidget.cpp
0013 keysequenceinputbutton.cpp
0014 keysequenceinputwidget.cpp
0015 pressurecurvewidget.cpp
0016 pressurecurvedialog.cpp
0017 styluspagewidget.cpp
0018 tabletareaselectioncontroller.cpp
0019 tabletareaselectiondialog.cpp
0020 tabletareaselectionview.cpp
0021 tabletareaselectionwidget.cpp
0022 tabletpagewidget.cpp
0023 touchpagewidget.cpp
0024 ../common/globalactions.cpp # FIXME: why?
0025 areaselectionwidget.h
0026 buttonactiondisplaywidget.h
0027 buttonactionselectiondialog.h
0028 buttonactionselectionwidget.h
0029 buttonactionselectorwidget.h
0030 buttonpagewidget.h
0031 calibrationdialog.h
0032 generalpagewidget.h
0033 kcmwacomtabletwidget.h
0034 keysequenceinputbutton.h
0035 keysequenceinputwidget.h
0036 pressurecurvewidget.h
0037 pressurecurvedialog.h
0038 styluspagewidget.h
0039 tabletareaselectioncontroller.h
0040 tabletareaselectiondialog.h
0041 tabletareaselectionview.h
0042 tabletareaselectionwidget.h
0043 tabletpagewidget.h
0044 touchpagewidget.h
0045 )
0046
0047 ki18n_wrap_ui( kcm_tablet_SRCS
0048 buttonactionselectionwidget.ui
0049 buttonactionselectorwidget.ui
0050 buttonpagewidget.ui
0051 errorwidget.ui
0052 generalpagewidget.ui
0053 kcmwacomtabletwidget.ui
0054 pressurecurvedialog.ui
0055 styluspagewidget.ui
0056 tabletareaselectionview.ui
0057 tabletpagewidget.ui
0058 touchpagewidget.ui
0059 )
0060
0061 ecm_qt_declare_logging_category(
0062 kcm_tablet_SRCS
0063 HEADER "logging.h"
0064 DESCRIPTION "wacomtablet (kcm)"
0065 IDENTIFIER "KCM"
0066 CATEGORY_NAME "org.kde.wacomtablet.kcm"
0067 EXPORT WACOMTABLET
0068 )
0069
0070 set(kcm_wacomtablet_PLUGIN_SRC
0071 kcmwacomtablet.cpp
0072 kcmwacomtablet.h
0073 )
0074
0075 set(kcm_wacomtablet_LIBS
0076 wacom_common
0077 Qt::Core
0078 Qt::Widgets
0079 KF6::CoreAddons
0080 KF6::XmlGui
0081 KF6::WidgetsAddons
0082 KF6::WindowSystem
0083 ${X11_LIBRARIES}
0084 ${X11_Xinput_LIB}
0085 KF6::KCMUtils
0086 )
0087
0088 add_definitions(-DTRANSLATION_DOMAIN=\"wacomtablet\")
0089 add_library(kcm_wacomtablet MODULE ${kcm_wacomtablet_PLUGIN_SRC} ${kcm_tablet_SRCS})
0090 kcmutils_generate_desktop_file(kcm_wacomtablet)
0091
0092 target_link_libraries(kcm_wacomtablet ${kcm_wacomtablet_LIBS})
0093
0094 install(TARGETS kcm_wacomtablet DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets)
0095 install(FILES org.kde.wacomtablet.metainfo.xml DESTINATION "${KDE_INSTALL_METAINFODIR}")
0096
0097 ## LIBRARY FOR UNIT TESTS
0098 if (BUILD_TESTING)
0099 ## build static library for unit testing
0100 add_library( kcm_testlib STATIC ${kcm_tablet_SRCS} )
0101 target_link_libraries( kcm_testlib ${kcm_wacomtablet_LIBS} )
0102 set_target_properties( kcm_testlib PROPERTIES COMPILE_FLAGS "-fPIC" )
0103
0104 endif (BUILD_TESTING)