Zoom session when the mouse pointer is moved up and down during a playhead drag.
[ardour2.git] / libs / timecode / wscript
blobbe84a4b940b420ff3852a10b267f5927f31ac11c
1 #!/usr/bin/env python
2 import autowaf
3 import Options
4 import os
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
13 # Version history:
14 # 0.0.0 = 0,0,0
15 TIMECODE_LIB_VERSION = '0.0.0'
17 # Variables for 'waf dist'
18 APPNAME = 'timecode'
19 VERSION = TIMECODE_VERSION
21 # Mandatory variables
22 srcdir = '.'
23 blddir = 'build'
25 def set_options(opt):
26 autowaf.set_options(opt)
28 def configure(conf):
29 autowaf.configure(conf)
31 conf.check_tool('compiler_cxx')
33 def build(bld):
34 # Library
35 obj = bld.new_task_gen('cxx', 'shlib')
36 obj.source = [ 'src/time.cc', 'src/bbt_time.cc' ]
37 obj.export_incdirs = ['.']
38 obj.includes = ['.', './src']
39 obj.name = 'libtimecode'
40 obj.target = 'timecode'
41 obj.vnum = TIMECODE_LIB_VERSION
42 obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
44 def shutdown():
45 autowaf.shutdown()