This makes the structure of the examples after an 'make install' similar to the one in a 'developer build'. Change-Id: I9120bd741fab332e64e30adc01cefe87e5633454 Reviewed-by: Martin Smith <martin.smith@digia.com>
35 lines
837 B
Prolog
35 lines
837 B
Prolog
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
|
|
}
|
|
|
|
SUBDIRS += hellowindow \
|
|
paintedwindow
|
|
|
|
# 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
|
|
|
|
QT += widgets
|