summaryrefslogtreecommitdiffstats
path: root/src/server/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-18 18:32:02 +0100
committerDavid Robillard <d@drobilla.net>2017-02-18 19:38:13 +0100
commitf240b08a1799b3aa6a29701c90388d51c0c1b2ce (patch)
tree28ec7429aa10f28710023fdcc43d07a4f0b4ebc9 /src/server/wscript
parent6141b832946006a6ec3c1a3a70bd729c0404771e (diff)
downloadingen-f240b08a1799b3aa6a29701c90388d51c0c1b2ce.tar.gz
ingen-f240b08a1799b3aa6a29701c90388d51c0c1b2ce.tar.bz2
ingen-f240b08a1799b3aa6a29701c90388d51c0c1b2ce.zip
Add experimental PortAudio driver
Diffstat (limited to 'src/server/wscript')
-rw-r--r--src/server/wscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/server/wscript b/src/server/wscript
index 43ba162a..a8efd2f8 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -91,6 +91,18 @@ def build(bld):
linkflags = bld.env.PTHREAD_LINKFLAGS)
autowaf.use_lib(bld, obj, core_libs + ' JACK')
+ if bld.env.HAVE_PORTAUDIO:
+ obj = bld(features = 'cxx cxxshlib',
+ source = 'PortAudioDriver.cpp ingen_portaudio.cpp',
+ includes = ['.', '../..'],
+ name = 'libingen_portaudio',
+ target = 'ingen_portaudio',
+ install_path = '${LIBDIR}',
+ use = 'libingen_server',
+ cxxflags = bld.env.PTHREAD_CFLAGS,
+ linkflags = bld.env.PTHREAD_LINKFLAGS)
+ autowaf.use_lib(bld, obj, core_libs + ' PORTAUDIO')
+
# Ingen LV2 wrapper
if bld.env.INGEN_BUILD_LV2:
obj = bld(features = 'cxx cxxshlib',