David Robillard
9f63ab9931
git-svn-id: svn://localhost/ardour2/branches/3.0@2988 d708f5d6-7413-0410-9779-e7cbd77b26cf
27 lines
786 B
Python
27 lines
786 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'], 'ardour2', 'vamp'), libvampplugins))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript', 'COPYING', 'README' ] +
|
|
plugin_files +
|
|
glob.glob('*.h')))
|