various fixes to MidiRegionView selection handling, key handling, drawing of ghost...
[ardour2.git] / libs / surfaces / frontier / wscript
blobcd388b8bff8a5b3d45688415fcd4f05938fdf525
1 #!/usr/bin/env python
2 import autowaf
3 import os
5 # Version of this package (even if built as a child)
6 LIBSURFACES_VERSION = '4.1.0'
8 # Library version (UNIX style major, minor, micro)
9 # major increment <=> incompatible changes
10 # minor increment <=> compatible changes (additions)
11 # micro increment <=> no interface changes
12 LIBSURFACES_LIB_VERSION = '4.1.0'
14 # Variables for 'waf dist'
15 APPNAME = 'libsurfaces'
16 VERSION = LIBSURFACES_VERSION
18 # Mandatory variables
19 srcdir = '.'
20 blddir = 'build'
22 def set_options(opt):
23 autowaf.set_options(opt)
25 def configure(conf):
26 autowaf.configure(conf)
28 def build(bld):
29 # Generic MIDI
30 obj = bld.new_task_gen('cxx', 'shlib')
31 obj.source = '''
32 generic_midi_control_protocol.cc
33 interface.cc
34 midicontrollable.cc
35 '''
36 obj.export_incdirs = ['./generic_midi']
37 obj.cxxflags = '-DPACKAGE="ardour_genericmidi"'
38 obj.includes = ['.', './generic_midi']
39 obj.name = 'libgeneric_midi'
40 obj.target = 'generic_midi'
41 obj.uselib_local = 'libardour libsurfaces'
42 obj.vnum = LIBSURFACES_LIB_VERSION
43 obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'surfaces')
45 def shutdown():
46 autowaf.shutdown()