summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eventdispatchers/CMakeLists.txt
blob: add508b5b686763322ca186f2e92f22f1bf61817 (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
# Generated from eventdispatchers.pro.

qt_find_package(GLIB2) # special case

#####################################################################
## EventDispatcherSupport Module:
#####################################################################

add_qt_module(EventDispatcherSupport
    STATIC
    INTERNAL_MODULE
    DEFINES
        QT_NO_CAST_FROM_ASCII
    LIBRARIES
        Qt::CorePrivate
        Qt::GuiPrivate
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
    PRECOMPILED_HEADER
        "../../corelib/global/qt_pch.h"
)

#### Keys ignored in scope 1:.:.:eventdispatchers.pro:<TRUE>:
# MODULE = "eventdispatcher_support"

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

extend_target(EventDispatcherSupport CONDITION UNIX
    SOURCES
        qgenericunixeventdispatcher.cpp qgenericunixeventdispatcher_p.h
        qunixeventdispatcher.cpp
        qunixeventdispatcher_qpa_p.h
)

extend_target(EventDispatcherSupport CONDITION WIN32
    SOURCES
        qwindowsguieventdispatcher.cpp qwindowsguieventdispatcher_p.h
)

extend_target(EventDispatcherSupport CONDITION QT_FEATURE_glib
    SOURCES
        qeventdispatcher_glib.cpp qeventdispatcher_glib_p.h
    LIBRARIES
        GLIB2::GLIB2
)