-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINNgine2019.pro
182 lines (162 loc) · 4.41 KB
/
INNgine2019.pro
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
QT += core gui widgets qml
TEMPLATE = app
CONFIG += c++17
TARGET = INNgine2019
PRECOMPILED_HEADER += \
innpch.h
INCLUDEPATH += ./GSL
INCLUDEPATH += ./include
mac {
QMAKE_CXXFLAGS += --target=x86_64-apple-macosx10.14
LIBS += -framework OpenAL
}
# windows
win32 {
INCLUDEPATH += $(OPENAL_HOME)\\include\\AL
# 32 bits windows compiler
contains(QT_ARCH, i386) {
LIBS *= $(OPENAL_HOME)\\libs\\Win32\\libOpenAL32.dll.a
CONFIG(debug, debug|release) {
OpenAL32.commands = copy /Y \"$(OPENAL_HOME)\\bin\\Win32\\soft_oal.dll\" debug\\OpenAL32.dll
OpenAL32.target = debug/OpenAL32.dll
QMAKE_EXTRA_TARGETS += OpenAL32
PRE_TARGETDEPS += debug/OpenAL32.dll
} else:CONFIG(release, debug|release) {
OpenAL32.commands = copy /Y \"$(OPENAL_HOME)\\bin\\Win32\\soft_oal.dll\" release\\OpenAL32.dll
OpenAL32.target = release/OpenAL32.dll
QMAKE_EXTRA_TARGETS += OpenAL32
PRE_TARGETDEPS += release/OpenAL32.dll
}
# 64 bits windows compiler
} else {
LIBS *= $(OPENAL_HOME)\\libs\\Win64\\libOpenAL32.dll.a
CONFIG(debug, debug|release) {
OpenAL32.commands = copy \"$(OPENAL_HOME)\\bin\\Win64\\soft_oal.dll\" debug\\OpenAL32.dll
OpenAL32.target = debug/OpenAL32.dll
QMAKE_EXTRA_TARGETS += OpenAL32
PRE_TARGETDEPS += debug/OpenAL32.dll
} else:CONFIG(release, debug|release) {
OpenAL32.commands = copy /Y \"$(OPENAL_HOME)\\bin\\Win64\\soft_oal.dll\" release\\OpenAL32.dll
OpenAL32.target = release/OpenAL32.dll
QMAKE_EXTRA_TARGETS += OpenAL32
PRE_TARGETDEPS += release/OpenAL32.dll
}
}
}
HEADERS += \
GSL/gsl_math.h \
GSL/quaternion.h \
Instrumentor.h \
Widgets/colliderwidget.h \
Widgets/componentwidget.h \
Widgets/directionallightwidget.h \
Widgets/inputwidget.h \
Widgets/meshwidget.h \
Widgets/physicswidget.h \
Widgets/pointlightwidget.h \
Widgets/scriptwidget.h \
Widgets/soundwidget.h \
Widgets/spotlightwidget.h \
Widgets/transformwidget.h \
app.h \
camerasystem.h \
componentdata.h \
entitymanager.h \
inputhandler.h \
inputsystem.h \
mainwindow.h \
constants.h \
gltypes.h \
GSL/matrix2x2.h \
GSL/matrix3x3.h \
GSL/matrix4x4.h \
GSL/vector2d.h \
GSL/vector3d.h \
GSL/vector4d.h \
GSL/math_constants.h \
GSL/mathfwd.h \
Shaders/shader.h \
postprocesseswindow.h \
vertex.h \
objecttreewidget.h \
octree.h \
particlesystem.h \
physicssystem.h \
postprocessor.h \
qentity.h \
renderer.h \
resourcemanager.h \
scene.h \
scriptsystem.h \
soundlistener.h \
soundmanager.h \
texture.h \
wavfilehandler.h \
world.h \
meshdata.h
SOURCES += \
GSL/gsl_math.cpp \
GSL/quaternion.cpp \
Widgets/colliderwidget.cpp \
Widgets/componentwidget.cpp \
Widgets/directionallightwidget.cpp \
Widgets/inputwidget.cpp \
Widgets/meshwidget.cpp \
Widgets/physicswidget.cpp \
Widgets/pointlightwidget.cpp \
Widgets/scriptwidget.cpp \
Widgets/soundwidget.cpp \
Widgets/spotlightwidget.cpp \
Widgets/transformwidget.cpp \
app.cpp \
camerasystem.cpp \
componentdata.cpp \
entitymanager.cpp \
inputhandler.cpp \
inputsystem.cpp \
main.cpp \
mainwindow.cpp \
GSL/matrix2x2.cpp \
GSL/matrix3x3.cpp \
GSL/matrix4x4.cpp \
GSL/vector2d.cpp \
GSL/vector3d.cpp \
GSL/vector4d.cpp \
Shaders/shader.cpp \
postprocesseswindow.cpp \
vertex.cpp \
objecttreewidget.cpp \
particlesystem.cpp \
physicssystem.cpp \
postprocessor.cpp \
qentity.cpp \
renderer.cpp \
resourcemanager.cpp \
scene.cpp \
scriptsystem.cpp \
soundlistener.cpp \
soundmanager.cpp \
texture.cpp \
wavfilehandler.cpp \
world.cpp
FORMS += \
collider.ui \
directionallight.ui \
input.ui \
mainwindow.ui \
mesh.ui \
physics.ui \
pointlight.ui \
postprocesseswindow.ui \
script.ui \
sound.ui \
spotlight.ui \
transform.ui
DISTFILES += \
Shaders/* \
GSL/README.md \
README.md \
Shaders/Deferred/directionallight.frag \
Shaders/Deferred/gbuffer.frag \
Shaders/Deferred/gbuffer.vert \
Shaders/Deferred/light.vert