summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/input/.prev_CMakeLists.txt
blob: d5e013ba9f74bd17ffa5cf2f71a6e359044b42de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# Generated from input.pro.

#####################################################################
## InputSupport Module:
#####################################################################

add_qt_module(InputSupport
    STATIC
    INTERNAL_MODULE
    DEFINES
        QT_NO_CAST_FROM_ASCII
    LIBRARIES
        Qt::CorePrivate
        Qt::DeviceDiscoverySupportPrivate
        Qt::GuiPrivate
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::DeviceDiscoverySupport
        Qt::Gui
)

#### Keys ignored in scope 3:.:.:input-support.pro:<TRUE>:
# CONFIG = "static" "internal_module"
# MODULE = "input_support"
# PRECOMPILED_HEADER = "../../corelib/global/qt_pch.h"
# _LOADED = "qt_module"

## Scopes:
#####################################################################

extend_target(InputSupport CONDITION QT_FEATURE_evdev
    SOURCES
        evdevkeyboard/qevdevkeyboard_defaultmap_p.h
        evdevkeyboard/qevdevkeyboardhandler.cpp evdevkeyboard/qevdevkeyboardhandler_p.h
        evdevkeyboard/qevdevkeyboardmanager.cpp evdevkeyboard/qevdevkeyboardmanager_p.h
        evdevmouse/qevdevmousehandler.cpp evdevmouse/qevdevmousehandler_p.h
        evdevmouse/qevdevmousemanager.cpp evdevmouse/qevdevmousemanager_p.h
        evdevtouch/qevdevtouchhandler.cpp evdevtouch/qevdevtouchhandler_p.h
        evdevtouch/qevdevtouchmanager.cpp evdevtouch/qevdevtouchmanager_p.h
    INCLUDE_DIRECTORIES
        evdevtouch/../shared
)

extend_target(InputSupport CONDITION QT_FEATURE_evdev AND QT_FEATURE_tabletevent
    SOURCES
        evdevtablet/qevdevtablethandler.cpp evdevtablet/qevdevtablethandler_p.h
        evdevtablet/qevdevtabletmanager.cpp evdevtablet/qevdevtabletmanager_p.h
)

extend_target(InputSupport CONDITION QT_FEATURE_evdev AND QT_FEATURE_libudev AND QT_FEATURE_tabletevent
    LIBRARIES
        PkgConfig::Libudev
)

extend_target(InputSupport CONDITION QT_FEATURE_evdev AND QT_FEATURE_libudev
    LIBRARIES
        PkgConfig::Libudev
)

extend_target(InputSupport CONDITION QT_FEATURE_evdev AND QT_FEATURE_mtdev
    LIBRARIES
        PkgConfig::Mtdev
)

extend_target(InputSupport CONDITION QT_FEATURE_tslib
    SOURCES
        tslib/qtslib.cpp tslib/qtslib_p.h
    PUBLIC_LIBRARIES
        PkgConfig::Tslib
)

extend_target(InputSupport CONDITION QT_FEATURE_libinput
    SOURCES
        libinput/qlibinputhandler.cpp libinput/qlibinputhandler_p.h
        libinput/qlibinputkeyboard.cpp libinput/qlibinputkeyboard_p.h
        libinput/qlibinputpointer.cpp libinput/qlibinputpointer_p.h
        libinput/qlibinputtouch.cpp libinput/qlibinputtouch_p.h
    INCLUDE_DIRECTORIES
        libinput/../shared
    LIBRARIES
        Libinput::Libinput
        PkgConfig::Libudev
)

extend_target(InputSupport CONDITION QT_FEATURE_libinput AND QT_FEATURE_xkbcommon
    LIBRARIES
        Qt::XkbCommonSupportPrivate
        XKB::XKB
    PUBLIC_LIBRARIES
        Qt::XkbCommonSupport
)

extend_target(InputSupport CONDITION QT_FEATURE_evdev OR QT_FEATURE_libinput
    SOURCES
        shared/devicehandlerlist_p.h
        shared/qevdevutil.cpp shared/qevdevutil_p.h
        shared/qtouchoutputmapping.cpp shared/qtouchoutputmapping_p.h
)

extend_target(InputSupport CONDITION QT_FEATURE_integrityhid
    SOURCES
        integrityhid/qintegrityhidmanager.cpp integrityhid/qintegrityhidmanager.h
    LIBRARIES
        integrityhid
)

if(QT_FEATURE_xkbcommon)
    add_subdirectory(xkbcommon)
endif()

    if(QT_FEATURE_evdev)

        if(QT_FEATURE_tabletevent)

            if(QT_FEATURE_libudev)
            endif()
        endif()

        if(QT_FEATURE_libudev)
        endif()

        if(QT_FEATURE_libudev)
        endif()

        if(QT_FEATURE_libudev)
        endif()

        if(QT_FEATURE_mtdev)
        endif()
    endif()

    if(QT_FEATURE_tslib)
    endif()

    if(QT_FEATURE_libinput)

        if(QT_FEATURE_xkbcommon)
        endif()
    endif()

    if(QT_FEATURE_evdev OR QT_FEATURE_libinput)
    endif()

    if(QT_FEATURE_integrityhid)
    endif()