summaryrefslogtreecommitdiff
path: root/libs/surfaces/cc121/wscript
diff options
context:
space:
mode:
authorW.P. van Paassen <wp.van.paassen@gmail.com>2016-10-11 19:21:21 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2016-10-13 12:10:39 -0400
commit5a3fe4aa206232bd242e71a1b8c3edee9ff343a1 (patch)
tree3e4619ccaa24b7e43c5bebc00e6c07c6a3963c9f /libs/surfaces/cc121/wscript
parentbbb20272d5b954e288c1dd47ab5f9848ab991c8a (diff)
Inital support for Steinberg's CC121 control surface
Diffstat (limited to 'libs/surfaces/cc121/wscript')
-rw-r--r--libs/surfaces/cc121/wscript34
1 files changed, 34 insertions, 0 deletions
diff --git a/libs/surfaces/cc121/wscript b/libs/surfaces/cc121/wscript
new file mode 100644
index 0000000000..478834aa3a
--- /dev/null
+++ b/libs/surfaces/cc121/wscript
@@ -0,0 +1,34 @@
+#!/usr/bin/env python
+from waflib.extras import autowaf as autowaf
+import os
+
+# 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 = '''
+ cc121.cc
+ gui.cc
+ cc121_interface.cc
+ operations.cc
+ '''
+ obj.export_includes = ['.']
+ obj.defines = [ 'PACKAGE="ardour_cc121"' ]
+ obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
+ obj.includes = [ '.', './cc121']
+ obj.name = 'libardour_cc121'
+ obj.target = 'ardour_cc121'
+ obj.uselib = 'GTKMM GTK GDK XML'
+ obj.use = 'libardour libardour_cp libgtkmm2ext libpbd'
+ obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
+
+def shutdown():
+ autowaf.shutdown()