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

#####################################################################
## OpenGL Module:
#####################################################################

qt_add_module(OpenGL
    SOURCES
        qopengldebug.cpp qopengldebug.h
        qopenglwindow.cpp qopenglwindow.h
        qtopenglglobal.h
    DEFINES
        QT_NO_FOREACH
        QT_NO_USING_NAMESPACE
    LIBRARIES
        Qt::CorePrivate
        Qt::GuiPrivate
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
)

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

qt_extend_target(OpenGL CONDITION QT_FEATURE_widgets
    SOURCES
        qopenglwidget.cpp qopenglwidget.h
    LIBRARIES
        Qt::WidgetsPrivate
    PUBLIC_LIBRARIES
        Qt::Widgets
)

qt_extend_target(OpenGL CONDITION NOT QT_FEATURE_opengles2
    SOURCES
        qopenglqueryhelper_p.h
        qopengltimerquery.cpp qopengltimerquery.h
)
qt_add_docs(OpenGL
    doc/qtopengl.qdocconf
)