2 from waflib.extras import autowaf as autowaf
3 from waflib import Options
6 # Version of this package (even if built as a child)
7 TIMECODE_VERSION = '0.0.0'
9 # Library version (UNIX style major, minor, micro)
10 # major increment <=> incompatible changes
11 # minor increment <=> compatible changes (additions)
12 # micro increment <=> no interface changes
15 TIMECODE_LIB_VERSION = '0.0.0'
17 # Variables for 'waf dist'
19 VERSION = TIMECODE_VERSION
26 autowaf.set_options(opt)
29 conf.load('compiler_cxx')
30 autowaf.configure(conf)
34 obj = bld(features = 'cxx cxxshlib')
35 obj.source = [ 'src/time.cc', 'src/bbt_time.cc' ]
36 obj.export_includes = ['.']
37 obj.includes = ['.', './src']
38 obj.name = 'libtimecode'
39 obj.target = 'timecode'
40 obj.vnum = TIMECODE_LIB_VERSION
41 obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')