summaryrefslogtreecommitdiffstats
path: root/src/Runtime/commoninclude.pri
blob: bf7d92d2d6e5c0bd18fd27e60a1a640057a7f549 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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 openglextensions

DEFINES += COMPILED_FROM_DSP \
    QT3DSDM_USE_NVLOG QT3DSDM_META_DATA_NO_SIGNALS \
    QT3DS_AUTOTESTS_ENABLED

INCLUDEPATH += \
    $$PWD/Source \
    $$PWD/Source/datamodel \
    $$PWD/Source/runtime \
    $$PWD/Source/system \
    $$PWD/Source/engine \
    $$PWD/Source/foundation \
    $$PWD/Source/render \
    $$PWD/Source/render/gl2 \
    $$PWD/Source/render/gl3 \
    $$PWD/Source/render/glg \
    $$PWD/Source/uipparser \
    $$PWD/Source/state \
    $$PWD/Source/stateapplication \
    $$PWD/Source/stateapplication/editor \
    $$PWD/Source/stateapplication/debugger \
    $$PWD/Source/event \
    $$PWD/Source/viewer \
    $$PWD/Source/viewer/perflog \
    $$PWD/../Authoring/QT3DSIMP/Qt3DSImportLib \
    $$PWD/../Authoring/QT3DSDM \
    $$PWD/../Authoring/QT3DSDM/Systems \
    $$PWD/../Authoring/QT3DSDM/Systems/Cores \
    $$PWD/../3rdparty/EASTL/UnknownVersion/include \
    $$PWD/../3rdparty/utf8cpp/2.3.2/source \
    $$PWD/../3rdparty/color \
    $$PWD/../3rdparty/RuntimePlatformSpecific/$$PlatformSpecificDir/PlatformLibs \
    $$PWD/../QtExtras/qmlstreamer \
    $$PWD/Source/runtimerender \
    $$PWD/Source/runtimerender/graphobjects \
    $$PWD/Source/runtimerender/resourcemanager

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

win32 {
INCLUDEPATH += \
    $$PWD/Source/platformspecific/windows/libs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Windows/Qt3DSLibs
}

linux|qnx {
QMAKE_CXXFLAGS += -fpermissive
QMAKE_CFLAGS += -fpermissive
INCLUDEPATH += \
    $$PWD/Source/foundation/linux \
    $$PWD/Source/platformspecific/linux/libs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Linux/Qt3DSLibs
}

integrity {
INCLUDEPATH += \
    $$PWD/Source/foundation/linux \
    $$PWD/Source/platformspecific/linux/libs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Linux/Qt3DSLibs
}

macos {
INCLUDEPATH += \
  $$PWD/../3rdparty/RuntimePlatformSpecific/Macos/Qt3DSLibs \
  $$PWD/Source/platformspecific/macos/libs

}

android {
INCLUDEPATH += \
    $$PWD/Source/platformspecific/android/jni/libs/nv_thread \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Android/jni/Qt3DSLibs \
    $$PWD/../3rdparty/RuntimePlatformSpecific/Android/jni
}