mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
add proper conditional-header creation and inclusion for VAMP plugins
git-svn-id: svn://localhost/ardour2/branches/3.0@7012 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f796c0f177
commit
27dfb74bda
2 changed files with 5 additions and 0 deletions
|
|
@ -34,6 +34,10 @@
|
||||||
authorization.
|
authorization.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef WAF_BUILD
|
||||||
|
#include "libvampplugins-config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "vamp/vamp.h"
|
#include "vamp/vamp.h"
|
||||||
#include "vamp-sdk/PluginAdapter.h"
|
#include "vamp-sdk/PluginAdapter.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ def configure(conf):
|
||||||
conf.check_tool('compiler_cxx')
|
conf.check_tool('compiler_cxx')
|
||||||
autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F', mandatory=True)
|
autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F', mandatory=True)
|
||||||
autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', mandatory=False)
|
autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', mandatory=False)
|
||||||
|
conf.write_config_header('libvampplugins-config.h')
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
# Library
|
# Library
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue