Paul Davis
449aab3c46
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
27 lines
765 B
Python
27 lines
765 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
plugin_files = glob.glob ("*.cpp")
|
|
|
|
Import('env install_prefix libraries')
|
|
vampplugs = env.Copy()
|
|
|
|
vampplugs.Append (CPPATH='#libs/vamp-sdk/vamp', CXXFLAGS="-Ilibs/vamp-sdk")
|
|
vampplugs.Merge ([libraries['vamp'],
|
|
libraries['vamphost']
|
|
])
|
|
|
|
libvampplugins = vampplugs.SharedLibrary('ardourvampplugins', plugin_files)
|
|
|
|
Default(libvampplugins)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3', 'vamp'), libvampplugins))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript' ] +
|
|
plugin_files +
|
|
glob.glob('*.h')))
|