File: opengl.pro

package info (click to toggle)
qt4-x11 4%3A4.8.6%2Bgit64-g5dc8b2b%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 677,000 kB
  • sloc: cpp: 3,232,500; ansic: 370,924; xml: 82,503; python: 28,521; sh: 20,395; perl: 15,587; yacc: 5,383; asm: 5,038; makefile: 1,290; lex: 859; ruby: 526; objc: 347; pascal: 112; cs: 112; php: 54; sed: 34; java: 32
file content (35 lines) | stat: -rw-r--r-- 877 bytes parent folder | download | duplicates (6)
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
TEMPLATE      = subdirs

contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2){
    contains(QT_CONFIG, opengles2) {
        SUBDIRS   = hellogl_es2
    } else {
        SUBDIRS   = hellogl_es
    }
    SUBDIRS += textures
    contains(QT_CONFIG, opengles1) {
        SUBDIRS += hellogl
    }
} else {
    SUBDIRS   = 2dpainting \
                cube \
                grabber \
                hellogl \
                overpainting \
                pbuffers \
                framebufferobject2 \
                samplebuffers \
                textures \

    contains(QT_CONFIG, svg) {
        SUBDIRS += framebufferobject \
                pbuffers2
    }
}

# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS opengl.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/opengl
INSTALLS += target sources