Skeleton for NI Maschine2 Surface
[ardour.git] / libs / surfaces / wscript
index 0e34356de15e9723e7242366b0f11bfcf8fdd86b..a1a3de56a0a1438d22dbdcaf2b64a9983700c77d 100644 (file)
@@ -50,6 +50,9 @@ def configure(conf):
     else:
         print ('You are missing the libusb-1.0 development package needed to compile Push2 support')
     
+    if conf.is_defined('HAVE_HIDAPI'):
+        children += [ 'maschine2' ]
+
     if autowaf.check_pkg (conf, 'liblo', mandatory=False, uselib_store="LO", atleast_version="0.24"):
         children += [ 'osc' ]
 
@@ -88,6 +91,8 @@ def build(bld):
         bld.recurse('tranzport')
     if bld.is_defined('HAVE_USB'):
         bld.recurse('push2')
+    if bld.is_defined('HAVE_HIDAPI'):
+        bld.recurse('maschine2')
 
 def shutdown():
     autowaf.shutdown()