summaryrefslogtreecommitdiff
path: root/libs/ardour/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-08-23 22:17:46 +0200
committerRobin Gareus <robin@gareus.org>2016-08-23 22:21:03 +0200
commit2d5166606b2b18bda0dbe615cc07759c5a1263e2 (patch)
tree4fec0839526eb8be5d57774e52bef672ccb2bc68 /libs/ardour/wscript
parentac05f050238d4b51c7b6a042e25cee59dc34da80 (diff)
add basic libardour wrapper for fluidsynth (for Lua bindings)
Diffstat (limited to 'libs/ardour/wscript')
-rw-r--r--libs/ardour/wscript13
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/ardour/wscript b/libs/ardour/wscript
index d85e6a4d4a..a3ec926485 100644
--- a/libs/ardour/wscript
+++ b/libs/ardour/wscript
@@ -95,6 +95,7 @@ libardour_sources = [
'filter.cc',
'find_session.cc',
'fixed_delay.cc',
+ 'fluid_synth.cc',
'gain_control.cc',
'globals.cc',
'graph.cc',
@@ -396,9 +397,9 @@ def build(bld):
if bld.env['build_target'] != 'mingw':
obj.uselib += ['DL']
if bld.is_defined('USE_EXTERNAL_LIBS'):
- obj.uselib.extend(['VAMPSDK', 'LIBLTC'])
+ obj.uselib.extend(['VAMPSDK', 'LIBLTC', 'LIBFLUIDSYNTH'])
else:
- obj.use.extend(['librubberband', 'libltc_includes', 'libltc'])
+ obj.use.extend(['librubberband', 'libltc_includes', 'libltc', 'libfluidsynth_includes', 'libfluidsynth'])
obj.vnum = LIBARDOUR_LIB_VERSION
obj.install_path = bld.env['LIBDIR']
@@ -497,9 +498,9 @@ def build(bld):
testcommon.use = ['libpbd','libmidipp','libevoral',
'libaudiographer','libardour']
if bld.is_defined('USE_EXTERNAL_LIBS'):
- testcommon.uselib.extend(['LIBLTC',])
+ testcommon.uselib.extend(['LIBLTC', 'LIBFLUIDSYNTH'])
else:
- testcommon.use.extend(['libltc', 'librubberband'])
+ testcommon.use.extend(['libltc', 'librubberband', 'libfluidsynth'])
testcommon.defines = [
'PACKAGE="libardour' + str(bld.env['MAJOR']) + 'test"',
'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
@@ -617,9 +618,9 @@ def create_ardour_test_program(bld, includes, name, target, sources):
testobj.use = ['libpbd','libmidipp','libevoral',
'libaudiographer','libardour','testcommon']
if bld.is_defined('USE_EXTERNAL_LIBS'):
- testobj.uselib.extend(['LIBLTC'])
+ testobj.uselib.extend(['LIBLTC', 'LIBFLUIDSYNTH'])
else:
- testobj.use.extend(['libltc'])
+ testobj.use.extend(['libltc', 'libfluidsynth'])
testobj.name = name
testobj.target = target