use a note tracker to resolve notes cut off during render by the end of the region
[ardour.git] / libs / vamp-pyin / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 import os
4
5 # Library version (UNIX style major, minor, micro)
6 # major increment <=> incompatible changes
7 # minor increment <=> compatible changes (additions)
8 # micro increment <=> no interface changes
9 VAMP_PYIN_LIB_VERSION = '0.0.0'
10
11 # Variables for 'waf dist'
12 APPNAME = 'libardourvamppyin'
13 VERSION = '1.1'
14
15 # Mandatory variables
16 top = '.'
17 out = 'build'
18
19 def options(opt):
20     autowaf.set_options(opt)
21
22 def configure(conf):
23     conf.load('compiler_cxx')
24     autowaf.configure(conf)
25
26 def build(bld):
27     # Library
28     obj = bld(features = 'cxx cxxshlib')
29     obj.source = '''
30        libmain.cpp
31        PYinVamp.cpp
32        YinVamp.cpp
33        LocalCandidatePYIN.cpp
34        Yin.cpp
35        YinUtil.cpp
36        MonoNote.cpp
37        MonoPitch.cpp
38        MonoNoteParameters.cpp
39        SparseHMM.cpp
40        MonoNoteHMM.cpp
41        MonoPitchHMM.cpp
42     '''
43     obj.export_includes = ['.']
44     obj.includes     = ['.']
45     obj.name         = 'libardourvamppyin'
46     obj.target       = 'ardourvamppyin'
47     obj.uselib       = 'VAMPSDK'
48     obj.use          = 'libvampplugin'
49     autowaf.ensure_visible_symbols (obj, True)
50     obj.vnum         = VAMP_PYIN_LIB_VERSION
51     obj.install_path = os.path.join(bld.env['LIBDIR'], 'vamp')
52
53 def shutdown():
54     autowaf.shutdown()