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
@ -34,6 +34,10 @@
|
||||
authorization.
|
||||
*/
|
||||
|
||||
#ifdef WAF_BUILD
|
||||
#include "libvampplugins-config.h"
|
||||
#endif
|
||||
|
||||
#include "vamp/vamp.h"
|
||||
#include "vamp-sdk/PluginAdapter.h"
|
||||
|
||||
|
@ -27,6 +27,7 @@ def configure(conf):
|
||||
conf.check_tool('compiler_cxx')
|
||||
autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', mandatory=False)
|
||||
conf.write_config_header('libvampplugins-config.h')
|
||||
|
||||
def build(bld):
|
||||
# Library
|
||||
|
Loading…
Reference in New Issue
Block a user