Isolate XAudio2 driver

Now it's possible to compile for Windows platform if wanted. It's
supported only for Windows 8 or later, so it's not enabled by default.
This commit is contained in:
George Marques 2016-10-17 13:40:45 -02:00
parent c4b7c7d81b
commit f3102160a1
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D
10 changed files with 53 additions and 39 deletions

9
drivers/xaudio2/SCsub Normal file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env python
Import('env')
env.add_source_files(env.drivers_sources, "*.cpp")
env.Append(CXXFLAGS=['-DXAUDIO2_ENABLED'])
env.Append(LINKFLAGS=['xaudio2_8.lib'])
Export('env')