13
0
livetrax/libs/vamp-pyin/wscript
Mads Kiilerich 6b61b03434 wscript: drop traces of shutdown() handling
autowaf has no real shutdown functionality anyway. The automatic
shutdown function that could have been called wouldn't work anyway, as
it takes an argument.

The only reason it doesn't fail is that the top level wscript has no
shutdown handling and doesn't recurse to other scripts, so it is all
dead code.
2023-10-15 10:47:16 -06:00

43 lines
1.1 KiB
Python

#!/usr/bin/env python
from waflib.extras import autowaf as autowaf
import os
# Library version (UNIX style major, minor, micro)
# major increment <=> incompatible changes
# minor increment <=> compatible changes (additions)
# micro increment <=> no interface changes
VAMP_PYIN_LIB_VERSION = '0.0.0'
def options(opt):
pass
def configure(conf):
pass
def build(bld):
# Library
obj = bld(features = 'cxx cxxshlib')
obj.source = '''
libmain.cpp
PYinVamp.cpp
YinVamp.cpp
LocalCandidatePYIN.cpp
Yin.cpp
YinUtil.cpp
MonoNote.cpp
MonoPitch.cpp
MonoNoteParameters.cpp
SparseHMM.cpp
MonoNoteHMM.cpp
MonoPitchHMM.cpp
'''
obj.export_includes = ['.']
obj.includes = ['.']
obj.name = 'libardourvamppyin'
obj.target = 'ardourvamppyin'
obj.uselib = 'VAMPSDK'
obj.use = 'libvampplugin'
autowaf.ensure_visible_symbols (obj, True)
obj.vnum = VAMP_PYIN_LIB_VERSION
obj.install_path = os.path.join(bld.env['LIBDIR'], 'vamp')