summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/examples-common/examples-common.pri
blob: ddfea6765d2fd2c075da504f501fec99ea9e61eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
QT += 3dcore 3drender 3dinput 3dlogic qml 3dextras

INCLUDEPATH += $$PWD

win32 {
    build_pass {
        CONFIG(debug, debug|release) {
            common_static_lib = $$OUT_PWD/../examples-common/debug/$${QMAKE_PREFIX_STATICLIB}examples-common.$${QMAKE_EXTENSION_STATICLIB}
        } else {
            common_static_lib = $$OUT_PWD/../examples-common/release/$${QMAKE_PREFIX_STATICLIB}examples-common.$${QMAKE_EXTENSION_STATICLIB}
        }
    }
    LIBS += $$common_static_lib
    PRE_TARGETDEPS += $$common_static_lib
} else {
    LIBS += -L$$OUT_PWD/../examples-common -l$$qtLibraryTarget(examples-common)
    PRE_TARGETDEPS += $$OUT_PWD/../examples-common/lib$$qtLibraryTarget(examples-common).a
}

RESOURCES += $$OUT_PWD/../examples-common/examples-common.qrc