summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/boxes/CMakeLists.txt
blob: 11331b19067013bc9db45b55dd2782502352fdb0 (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
# Generated from boxes.pro.

#####################################################################
## boxes Binary:
#####################################################################

add_qt_executable(boxes
    GUI
    OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/boxes"
    INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/boxes"
    SOURCES
        3rdparty/fbm.c 3rdparty/fbm.h
        glbuffers.cpp glbuffers.h
        glextensions.cpp glextensions.h
        gltrianglemesh.h
        main.cpp
        qtbox.cpp qtbox.h
        roundedbox.cpp roundedbox.h
        scene.cpp scene.h
        trackball.cpp trackball.h
    LIBRARIES
        Qt::OpenGL
        Qt::Widgets
)

# Resources:
add_qt_resource(boxes "boxes" PREFIX "/res/boxes" FILES
    basic.fsh
    basic.vsh
    cubemap_negx.jpg
    cubemap_negy.jpg
    cubemap_negz.jpg
    cubemap_posx.jpg
    cubemap_posy.jpg
    cubemap_posz.jpg
    dotted.fsh
    fresnel.fsh
    glass.fsh
    granite.fsh
    marble.fsh
    parameters.par
    qt-logo.jpg
    qt-logo.png
    reflection.fsh
    refraction.fsh
    smiley.png
    square.jpg
    wood.fsh)


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