Update classkeys to match new total LuaSignal count (windows only)
[ardour.git] / libs / surfaces / push2 / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 import os
4
5 # Mandatory variables
6 top = '.'
7 out = 'build'
8
9 def options(opt):
10     autowaf.set_options(opt)
11     
12 def configure(conf):
13     conf.load ('compiler_cxx')
14     autowaf.configure(conf)
15     autowaf.check_pkg(conf, 'pangomm-1.4', uselib_store='PANGOMM', atleast_version='1.4', mandatory=True)
16     autowaf.check_pkg(conf, 'cairomm-1.0', uselib_store='CAIROMM', atleast_version='1.8.4', mandatory=True)
17     
18 def build(bld):
19     obj = bld(features = 'cxx cxxshlib')
20     obj.source = '''
21             push2.cc
22             buttons.cc
23             canvas.cc
24             interface.cc
25             midi_byte_array.cc
26             leds.cc
27             level_meter.cc
28             gui.cc
29             knob.cc
30             layout.cc
31             menu.cc
32             mix.cc
33             scale.cc
34             splash.cc
35             track_mix.cc
36             utils.cc
37     '''
38     obj.export_includes = ['.']
39     obj.defines      = [ 'PACKAGE="ardour_push2"' ]
40     obj.defines     += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
41     obj.defines     += [ 'VERSIONSTRING="' + bld.env['VERSION'] + '"' ]
42     obj.includes     = [ '.', './push2']
43     obj.name         = 'libardour_push2'
44     obj.target       = 'ardour_push2'
45     obj.uselib       = 'CAIROMM PANGOMM USB GTKMM SIGCPP'
46     obj.use          = 'libardour libardour_cp libgtkmm2ext libpbd libevoral libcanvas libtemporal'
47     obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
48
49 def shutdown():
50     autowaf.shutdown()