13
0
livetrax/libs/ctrl-interface/midi_surface/wscript
Robin Gareus d521c2ede6
src-tree cleanup: separate surfaces from libraries
libardourcp and now libardour_midisurface are not control
surfaces, but helper libraries for those.
They need to be deployed to the library folder (shared between
ctrl surfaces) and not scanned as ctrl surfaces at runtime.
2022-11-19 00:09:17 +01:00

34 lines
942 B
Python

#!/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):
pass
def build(bld):
obj = bld(features = 'cxx cxxshlib')
obj.source = '''
midi_surface.cc
midi_byte_array.cc
'''
obj.export_includes = ['.', './midi_surface']
obj.defines = [ 'PACKAGE="ardour_midisurface"' ]
obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
obj.defines += [ 'VERSIONSTRING="' + bld.env['VERSION'] + '"' ]
obj.includes = ['.', './midi_surface']
obj.name = 'libardour_midisurface'
obj.target = 'ardour_midisurface'
obj.uselib = 'GLIB GLIBMM SIGCPP XML OSX'
obj.use = 'libardour libardour_cp libpbd libevoral libmidipp libtemporal'
obj.install_path = bld.env['LIBDIR']
def shutdown():
autowaf.shutdown()