2022-10-14 15:10:24 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
from waflib.extras import autowaf as autowaf
|
|
|
|
|
|
|
|
# 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
|
|
|
|
'''
|
2022-11-18 19:12:51 -05:00
|
|
|
obj.export_includes = ['.']
|
2022-10-14 15:10:24 -04:00
|
|
|
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'
|
2022-11-16 14:21:39 -05:00
|
|
|
obj.uselib = 'GLIB GLIBMM SIGCPP XML OSX'
|
2022-10-14 15:10:24 -04:00
|
|
|
obj.use = 'libardour libardour_cp libpbd libevoral libmidipp libtemporal'
|
2022-11-18 18:07:22 -05:00
|
|
|
obj.install_path = bld.env['LIBDIR']
|
2022-10-14 15:10:24 -04:00
|
|
|
|
|
|
|
def shutdown():
|
|
|
|
autowaf.shutdown()
|