5 # Version of this package (even if built as a child)
6 LIBVAMP_VERSION
= '0.0.0'
8 # Library version (UNIX style major, minor, micro)
9 # major increment <=> incompatible changes
10 # minor increment <=> compatible changes (additions)
11 # micro increment <=> no interface changes
12 LIBVAMP_LIB_VERSION
= '0.0.0'
14 # Variables for 'waf dist'
16 VERSION
= LIBVAMP_VERSION
23 autowaf
.set_options(opt
)
26 autowaf
.configure(conf
)
27 conf
.check_tool('compiler_cxx')
28 autowaf
.check_pkg(conf
, 'fftw3', uselib_store
='FFTW3', mandatory
=True)
29 autowaf
.check_pkg(conf
, 'fftw3f', uselib_store
='FFTW3F', mandatory
=True)
30 conf
.env
.append_value('CXXFLAGS', '-DHAVE_FFTW3')
34 obj
= bld
.new_task_gen('cxx', 'shlib')
36 src/vamp-hostsdk/PluginHostAdapter.cpp
37 src/vamp-hostsdk/PluginBufferingAdapter.cpp
38 src/vamp-hostsdk/PluginChannelAdapter.cpp
39 src/vamp-hostsdk/PluginInputDomainAdapter.cpp
40 src/vamp-hostsdk/PluginLoader.cpp
41 src/vamp-hostsdk/PluginWrapper.cpp
42 src/vamp-hostsdk/RealTime.cpp
44 obj
.export_incdirs
= ['.']
46 obj
.name
= 'libvamphost'
47 obj
.target
= 'vamphost'
48 obj
.uselib
= 'FFTW3 FFTW3F'
49 obj
.vnum
= LIBVAMP_LIB_VERSION
50 obj
.install_path
= os
.path
.join(bld
.env
['LIBDIR'], 'ardour3')
53 obj
= bld
.new_task_gen('cxx', 'shlib')
55 src/vamp-sdk/PluginAdapter.cpp
56 src/vamp-sdk/RealTime.cpp
58 obj
.export_incdirs
= ['.']
60 obj
.name
= 'libvampplugin'
61 obj
.target
= 'vampplugin'
62 obj
.uselib
= 'FFTW3 FFTW3F'
63 obj
.vnum
= LIBVAMP_LIB_VERSION
64 obj
.install_path
= os
.path
.join(bld
.env
['LIBDIR'], 'ardour3')