summaryrefslogtreecommitdiff
path: root/libs/backends/asio/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-30 21:18:18 +0200
committerRobin Gareus <robin@gareus.org>2015-03-30 21:23:52 +0200
commit16be88cdb6bdf1db167de6d3488e3599e6d9eeb1 (patch)
tree9f4b34557c1a93bff589c3a8570f36b138d04dfa /libs/backends/asio/wscript
parentf74acc6e7921e82842b1c33eb7da00204c6f3039 (diff)
Skeleton backend for brave volunteers.
callback based backend based on CoreAudio/Midi backend (sans the actual system/HW _pcmio, _midiio)
Diffstat (limited to 'libs/backends/asio/wscript')
-rw-r--r--libs/backends/asio/wscript33
1 files changed, 33 insertions, 0 deletions
diff --git a/libs/backends/asio/wscript b/libs/backends/asio/wscript
new file mode 100644
index 0000000000..fd122192af
--- /dev/null
+++ b/libs/backends/asio/wscript
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+from waflib.extras import autowaf as autowaf
+from waflib import Options
+import os
+import sys
+import re
+
+I18N_PACKAGE = 'asio-backend'
+
+# Mandatory variables
+top = '.'
+out = 'build'
+
+def options(opt):
+ autowaf.set_options(opt)
+
+def configure(conf):
+ autowaf.configure(conf)
+
+def build(bld):
+ obj = bld(features = 'cxx cxxshlib')
+ obj.source = [ 'asio_backend.cc',
+# 'asio_io.cc',
+# 'mme_io.cc'
+ ]
+ obj.includes = ['.']
+ obj.name = 'asio_backend'
+ obj.target = 'asio_backend'
+ obj.use = 'libardour libpbd'
+ obj.install_path = os.path.join(bld.env['LIBDIR'], 'backends')
+ obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
+ 'ARDOURBACKEND_DLL_EXPORTS'
+ ]