summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eventdispatchers/CMakeLists.txt
blob: 4037204f60daa96d92d5d8acd4fa6f8368fe57a4 (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
qt_find_package(GLIB2) # special case
set_package_properties(GLib PROPERTIES TYPE OPTIONAL) # special case

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

add_qt_module(EventDispatcherSupport
    STATIC
    DEFINES
        QT_NO_CAST_FROM_ASCII
    LIBRARIES
        Qt::CorePrivate
        Qt::GuiPrivate
)

#### Keys ignored in scope 1:.:eventdispatchers.pro:<NONE>:
# CONFIG = "static" "internal_module"
# MODULE = "eventdispatcher_support"
# PRECOMPILED_HEADER = "../../corelib/global/qt_pch.h"
# _LOADED = "qt_module"

## 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
)