2014-03-18 11:13:00 +01:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:34:39 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
|
|
|
import lutin.debug as debug
|
2014-03-18 11:13:00 +01:00
|
|
|
|
|
|
|
def get_desc():
|
2015-06-15 19:37:13 +02:00
|
|
|
return "ewol sound set interface for 'small game' audio effects"
|
2014-03-18 11:13:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
def create(target):
|
2015-06-15 19:37:13 +02:00
|
|
|
myModule = module.Module(__file__, 'audio-ess', 'LIBRARY')
|
2014-03-18 11:13:00 +01:00
|
|
|
# System core
|
|
|
|
myModule.add_src_file([
|
2015-04-11 13:20:46 +02:00
|
|
|
'audio/ess/debug.cpp',
|
|
|
|
'audio/ess/decWav.cpp',
|
|
|
|
'audio/ess/decOgg.cpp',
|
|
|
|
'audio/ess/effects.cpp',
|
|
|
|
'audio/ess/ess.cpp',
|
|
|
|
'audio/ess/music.cpp',
|
|
|
|
'audio/ess/LoadedFile.cpp'
|
2014-03-18 11:13:00 +01:00
|
|
|
])
|
2015-09-14 21:11:04 +02:00
|
|
|
myModule.add_header_file([
|
|
|
|
'audio/ess/effects.h',
|
|
|
|
'audio/ess/ess.h',
|
|
|
|
'audio/ess/music.h',
|
|
|
|
'audio/ess/LoadedFile.h'
|
|
|
|
])
|
2014-03-18 11:13:00 +01:00
|
|
|
|
|
|
|
# name of the dependency
|
2015-07-02 21:17:24 +02:00
|
|
|
myModule.add_module_depend(['etk', 'audio-river', 'ogg', 'ejson'])
|
2014-04-03 10:56:12 +02:00
|
|
|
if target.name=="Android":
|
2015-04-11 13:20:46 +02:00
|
|
|
# TODO : Change this ...
|
2015-05-08 22:34:39 +02:00
|
|
|
myModule.add_export_flag('c++', ["-pthread", "-frtti", "-fexceptions"])
|
2014-03-18 11:13:00 +01:00
|
|
|
|
2015-09-14 21:11:04 +02:00
|
|
|
myModule.add_path(tools.get_current_path(__file__))
|
2014-03-18 11:13:00 +01:00
|
|
|
|
|
|
|
# add the currrent module at the
|
|
|
|
return myModule
|
|
|
|
|
|
|
|
|