13
0
livetrax/libs/surfaces/midi_surface/wscript

34 lines
950 B
Plaintext
Raw Normal View History

#!/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 = ['.']
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'
obj.use = 'libardour libardour_cp libpbd libevoral libmidipp libtemporal'
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
def shutdown():
autowaf.shutdown()