summaryrefslogtreecommitdiffstats
path: root/src/Authoring/commoninclude.pri
blob: 07f5d77b1bdef08d66d385952406450b2db61f47 (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
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/Source

win32 {
INCLUDEPATH += \
    $$PWD/../Runtime/Source/PlatformSpecific/Windows/PlatformLibs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Windows/PlatformLibs \
    $$PWD/../Runtime/Source/PlatformSpecific/Windows/Qt3DSLibs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Windows/Qt3DSLibs
}

linux {
INCLUDEPATH += \
    $$PWD/../Runtime/Source/PlatformSpecific/Linux/PlatformLibs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Linux/PlatformLibs \
    $$PWD/../Runtime/Source/PlatformSpecific/Linux/Qt3DSLibs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Linux/Qt3DSLibs
}

macos {
INCLUDEPATH += \
    $$PWD/../Runtime/Source/PlatformSpecific/Macos/PlatformLibs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Macos/PlatformLibs \
    $$PWD/../Runtime/Source/PlatformSpecific/Macos/Qt3DSLibs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Macos/Qt3DSLibs

}
android {
INCLUDEPATH += \
    $$PWD/../Runtime/Source/PlatformSpecific/Android/jni/Qt3DSLibs
    $$PWD/../Runtime/Source/PlatformSpecific/Android/jni/Qt3DSLibs/nv_thread
}