-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy paths3eWwise_build.mkf
301 lines (257 loc) · 7.96 KB
/
s3eWwise_build.mkf
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
# mkf file for building extension s3eWwise.
# NOTE: This file was originally written by the extension builder, but will not
# be overwritten (unless --force is specified) and is intended to be modified.
display_name "Extensions/s3eWwise"
includepath source/h
includepath h
defines
{
#Define the verbose channel to be off by default (but controllable by icf)
IW_TRACE_CHANNEL_WWISE_VERBOSE=0
#This macro indicates that this extension is being built
S3E_EXT_WWISE
#Enable plugins for Wwise
WWISE_AK_VORBIS_PLUGIN
WWISE_AK_ROOM_VERB_PLUGIN
WWISE_AK_COMPRESSOR_PLUGIN
WWISE_AK_PEAK_LIMITER_PLUGIN
WWISE_AK_METER_PLUGIN
WWISE_AK_SILENCE_PLUGIN
}
#NOTE: Don't run this because it will overwrite custom files
#This command re-generates the relevant source files from the s4e when
#the mkb is run
#extension
#{
# ("$MARMALADE_ROOT/extensions/builder")
# "make_extension s3eWwise.s4e"
#}
#include the extension builder subproject
subproject "$MARMALADE_ROOT/s3e/edk"
if {{defined I3D_OS_IPHONE}}
{
files
{
["source"]
(use_first_found, source/iphone, source/generic, Wwise/Wwise_v2014.1.1_build_5179/SDK-Apple/samples/SoundEngine/POSIX, Wwise/Wwise_v2014.1.1_build_5179/SDK-Apple/samples/SoundEngine/Common)
s3eWwise_platform.cpp
AkDefaultIOHookBlocking.cpp
AkDefaultLowLevelIODispatcher.cpp
AkFileLocationBase.cpp
AkFilePackage.cpp
AkFilePackageLUT.cpp
["h"]
AkDefaultLowLevelIODispatcher.h
AkFileLocationBase.h
AkFilePackage.h
AkFilePackageLUT.h
}
}
if {{defined I3D_OS_WINDOWS}}
{
files
{
["source"]
(use_first_found, source/windows, source/generic, Wwise/Wwise_v2014.1.1_build_5179/SDK/samples/SoundEngine/Win32, Wwise/Wwise_v2014.1.1_build_5179/SDK/samples/SoundEngine/Common)
s3eWwise_platform.cpp
#Add any windows-specific files here
AkDefaultIOHookBlocking.cpp
AkDefaultLowLevelIODispatcher.cpp
AkFileLocationBase.cpp
AkFilePackage.cpp
AkFilePackageLUT.cpp
["h"]
AkDefaultLowLevelIODispatcher.h
AkFileLocationBase.h
AkFilePackage.h
AkFilePackageLUT.h
}
librarypath source/lib/win32
librarys
{
User32.lib
Ole32.lib
Ws2_32.lib
dxguid.lib
dsound.lib
AkMemoryMgr.lib
AkMusicEngine.lib
AkSoundEngine.lib
AkStreamMgr.lib
}
if {{defined WWISE_AK_AAC_PLUGIN}} library AkAACDecoder.lib
if {{defined WWISE_AK_ROOM_VERB_PLUGIN}} library AkRoomVerbFX.lib
if {{defined WWISE_AK_VORBIS_PLUGIN}} library AkVorbisDecoder.lib
if {{defined WWISE_AK_COMPRESSOR_PLUGIN}} library AkCompressorFX.lib
if {{defined WWISE_AK_PEAK_LIMITER_PLUGIN}} library AkPeakLimiterFX.lib
if {{defined WWISE_AK_METER_PLUGIN}} library AkMeterFX.lib
if {{defined WWISE_AK_SILENCE_PLUGIN}} library AkSilenceSource.lib
}
if {{defined S3E_ANDROID}}
{
files
{
["source"]
(use_first_found, source/android, source/generic, Wwise/Wwise_v2014.1.1_build_5179/SDK/samples/SoundEngine/Android, Wwise/Wwise_v2014.1.1_build_5179/SDK/samples/SoundEngine/Common)
s3eWwise_platform.cpp
#Add any android-specific files here
AkDefaultIOHookBlocking.cpp
AkFileHelpers.cpp
AkDefaultLowLevelIODispatcher.cpp
AkFileLocationBase.cpp
AkFilePackage.cpp
AkFilePackageLUT.cpp
["h"]
AkDefaultLowLevelIODispatcher.h
AkFileLocationBase.h
AkFilePackage.h
AkFilePackageLUT.h
}
librarypath "$NDK_ROOT/platforms/android-9/arch-arm/usr/lib"
library
{
libAkMusicEngine.a
libAkSoundEngine.a
libAkMemoryMgr.a
libAkStreamMgr.a
OpenSLES
android
}
if {{defined WWISE_AK_AAC_PLUGIN}} library libAkAACDecoder.a
if {{defined WWISE_AK_ROOM_VERB_PLUGIN}} library libAkRoomVerbFX.a
if {{defined WWISE_AK_VORBIS_PLUGIN}} library libAkVorbisDecoder.a
if {{defined WWISE_AK_COMPRESSOR_PLUGIN}} library libAkCompressorFX.a
if {{defined WWISE_AK_PEAK_LIMITER_PLUGIN}} library libAkPeakLimiterFX.a
if {{defined WWISE_AK_METER_PLUGIN}} library libAkMeterFX.a
if {{defined WWISE_AK_SILENCE_PLUGIN}} library libAkSilenceSource.a
}
if {{defined I3D_OS_OSX}}
{
files
{
["source"]
(use_first_found, source/osx, source/generic, Wwise/Wwise_v2014.1.1_build_5179/SDK-Apple/samples/SoundEngine/POSIX, Wwise/Wwise_v2014.1.1_build_5179/SDK-Apple/samples/SoundEngine/Common)
s3eWwise_platform.cpp
#Add any osx-specific files here
AkDefaultIOHookBlocking.cpp
AkDefaultLowLevelIODispatcher.cpp
AkFileLocationBase.cpp
AkFilePackage.cpp
AkFilePackageLUT.cpp
["h"]
AkDefaultLowLevelIODispatcher.h
AkFileLocationBase.h
AkFilePackage.h
AkFilePackageLUT.h
}
librarypath "/System/Library/Frameworks"
library
{
AKSoundEngine
AkMemoryMgr
AkMusicEngine
AkStreamMgr
}
if {{defined WWISE_AK_AAC_PLUGIN}} library AkAACDecoder
if {{defined WWISE_AK_ROOM_VERB_PLUGIN}} library AkRoomVerbFX
if {{defined WWISE_AK_VORBIS_PLUGIN}} library AkVorbisDecoder
if {{defined WWISE_AK_COMPRESSOR_PLUGIN}} library AkCompressorFX
if {{defined WWISE_AK_PEAK_LIMITER_PLUGIN}} library AkPeakLimiterFX
if {{defined WWISE_AK_METER_PLUGIN}} library AkMeterFX
if {{defined WWISE_AK_SILENCE_PLUGIN}} library AkSilenceSource
}
if {{defined I3D_OS_LINUX and not defined S3E_ANDROID}}
{
files
{
["source"]
(use_first_found, source/linux, source/generic)
s3eWwise_platform.cpp
#Add any linux-specific files here
}
}
if {{defined I3D_OS_WP8}}
{
files
{
["source"]
(use_first_found, source/wp8, source/generic, Wwise/Wwise_v2014.1.1_build_5179/SDK/samples/SoundEngine/Win32, Wwise/Wwise_v2014.1.1_build_5179/SDK/samples/SoundEngine/Common)
s3eWwise_platform.cpp
#Add any wp8-specific files here
ThreadEmulation.cpp
AkDefaultIOHookBlocking.cpp
AkDefaultLowLevelIODispatcher.cpp
AkFileLocationBase.cpp
AkFilePackage.cpp
AkFilePackageLUT.cpp
["h"]
AkDefaultLowLevelIODispatcher.h
AkFileLocationBase.h
AkFilePackage.h
AkFilePackageLUT.h
}
librarys
{
ws2_32.lib
xaudio2.lib
AkMemoryMgr.lib
AkMusicEngine.lib
AkSoundEngine.lib
AkStreamMgr.lib
}
if {{defined WWISE_AK_AAC_PLUGIN}} library AkAACDecoder.lib
if {{defined WWISE_AK_ROOM_VERB_PLUGIN}} library AkRoomVerbFX.lib
if {{defined WWISE_AK_VORBIS_PLUGIN}} library AkVorbisDecoder.lib
if {{defined WWISE_AK_COMPRESSOR_PLUGIN}} library AkCompressorFX.lib
if {{defined WWISE_AK_PEAK_LIMITER_PLUGIN}} library AkPeakLimiterFX.lib
if {{defined WWISE_AK_METER_PLUGIN}} library AkMeterFX.lib
if {{defined WWISE_AK_SILENCE_PLUGIN}} library AkSilenceSource.lib
}
if {{defined I3D_OS_WS8}}
{
files
{
["h"]
(source/ws8)
s3eWwise_shim.h
["source"]
(use_first_found, source/ws8, source/generic)
s3eWwise_platform.cpp
s3eWwise_shim.cpp
#Add any ws8-specific files here
}
}
if {{defined I3D_OS_WS81}}
{
files
{
["h"]
(source/ws81)
s3eWwise_shim.h
["source"]
(use_first_found, source/ws81, source/generic)
s3eWwise_platform.cpp
s3eWwise_shim.cpp
#Add any ws81-specific files here
}
}
files
{
# Add any platform-independent files here
# Note that if the file exists in the platform-specific directory
# it will be taken from there instead of 'generic'
s3eWwise_register.cpp
s3eWwise.cpp
s3eIOHook.cpp
["h"]
(source/h)
s3eWwise_internal.h
s3eWwise_autodefs.h
s3eIOHook.h
["docs"]
(interface)
s3eWwise.defines.txt
[]
(.)
s3eWwise.s4e
}