4 # Version of this package (even if built as a child)
5 LIBSURFACES_VERSION = '0.0.0'
7 # Library version (UNIX style major, minor, micro)
8 # major increment <=> incompatible changes
9 # minor increment <=> compatible changes (additions)
10 # micro increment <=> no interface changes
11 LIBSURFACES_LIB_VERSION = '4.1.0'
13 # Variables for 'waf dist'
14 APPNAME = 'libsurfaces'
15 VERSION = LIBSURFACES_VERSION
22 autowaf.set_options(opt)
25 autowaf.configure(conf)
26 autowaf.check_tool(conf, 'compiler_cxx')
27 autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
28 autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')
29 autowaf.check_pkg(conf, 'uuid', uselib_store='UUID')
31 conf.env.append_value('CXXFLAGS', '-DHAVE_WAFCONFIG_H')
32 conf.write_config_header('wafconfig.h')
35 autowaf.check_header(conf, 'boost/shared_ptr.hpp')
36 autowaf.check_header(conf, 'boost/weak_ptr.hpp')
40 obj = bld.new_task_gen('cxx', 'shlib')
42 control_protocol/basic_ui.cc
43 control_protocol/control_protocol.cc
44 control_protocol/smpte.cc
46 obj.export_incdirs = ['./control_protocol']
47 obj.cxxflags = '-DPACKAGE=\\\"ardour_cp\\\"'
48 obj.includes = ['.', './control_protocol']
49 obj.name = 'libsurfaces'
50 obj.target = 'surfaces'
51 obj.uselib_local = 'libardour'
52 obj.vnum = LIBSURFACES_LIB_VERSION