summaryrefslogtreecommitdiffstats
path: root/src/Authoring/commoninclude.pri
blob: eb7be22a26560ea65b9b914e907de57fc5e58467 (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
include($$PWD/../commonplatform.pri)

contains(TEMPLATE, lib) {
    load(qt_helper_lib)
    # qt_helper_lib assumes non-qt lib, so it clears qt from config - reset that
    CONFIG += qt exceptions
    QT += core gui
}

# TODO: Investigate whether these can be moved to commonplatform
win32-msvc {
    QMAKE_CXXFLAGS += /EHsc /GA
    QMAKE_CFLAGS += /EHsc /GA
}

mingw:win32 {
    DEFINES += WIN32
}

INCLUDEPATH += $$PWD/../Runtime/ogl-runtime/src
INCLUDEPATH += $$PWD/../Runtime/ogl-runtime/src/api/studio3d

win32 {
INCLUDEPATH += \
    $$PWD/../Runtime/ogl-runtime/src/platformspecific/windows/libs \
    $$PWD/../Runtime/ogl-runtime/src/3rdparty/platformspecific/Windows/PlatformLibs \
    $$PWD/../Runtime/ogl-runtime/src/3rdparty/platformspecific/Windows/Qt3DSLibs
}

linux {
INCLUDEPATH += \
    $$PWD/../Runtime/ogl-runtime/src/3rdparty/platformspecific/Linux/PlatformLibs \
    $$PWD/../Runtime/ogl-runtime/src/platformspecific/Linux/libs \
    $$PWD/../Runtime/ogl-runtime/src/3rdparty/platformspecific/Linux/Qt3DSLibs
}

macos {
INCLUDEPATH += \
    $$PWD/../Runtime/ogl-runtime/src/3rdparty/platformspecific/Macos/PlatformLibs \
    $$PWD/../Runtime/ogl-runtime/src/platformspecific/macos/libs \
    $$PWD/../Runtime/ogl-runtime/src/3rdparty/platformspecific/Macos/Qt3DSLibs

}
android {
INCLUDEPATH += \
    $$PWD/../Runtime/ogl-runtime/src/platformspecific/Android/jni/libs
    $$PWD/../Runtime/ogl-runtime/src/platformspecific/Android/jni/libs/nv_thread
}