mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
tweak build system to access SoundGrid headers and library
git-svn-id: svn://localhost/ardour2/branches/3.0-SG@12272 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d6edbf5ca2
commit
e2c50db848
4 changed files with 13 additions and 9 deletions
|
|
@ -359,6 +359,8 @@ def build(bld):
|
|||
obj.use = ['libpbd','libmidipp','libevoral','libvamphost',
|
||||
'libvampplugin','libtaglib','librubberband',
|
||||
'libaudiographer']
|
||||
if bld.is_defined ('HAVE_SOUNDGRID'):
|
||||
obj.uselib += [ 'SOUNDGRID' ]
|
||||
obj.vnum = LIBARDOUR_LIB_VERSION
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||
obj.defines = [
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#include <WavesPublicAPI/WavesMixerAPI/1.0/WavesMixerAPI.h>
|
||||
|
||||
void
|
||||
driver_main()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -52,13 +52,8 @@ def build(bld):
|
|||
driver.includes = ['.']
|
||||
driver.name = 'libsgardour'
|
||||
driver.target = 'sgardour'
|
||||
driver.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM'
|
||||
if sys.platform == 'darwin':
|
||||
# if/when Waves releases the SG Mixer Core as a framework we'll use this
|
||||
# driver.linkflags = [ '-framework', 'SGMixerCore' ]
|
||||
# driver.defines = [ '-framework', 'SGMixerCore' ]
|
||||
# but until then, we'll use this
|
||||
driver.linkflags = [ "-L. -lmixerapplicationcoresg" ]
|
||||
driver.uselib = [ 'SOUNDGRID', 'GLIBMM', 'SIGCPP', 'XML', 'UUID', 'SNDFILE', 'GIOMM' ]
|
||||
driver.use = [ 'libardour' ]
|
||||
driver.vnum = LIBSGARDOUR_LIB_VERSION
|
||||
driver.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||
driver.defines = ['PACKAGE="' + I18N_PACKAGE + '"']
|
||||
|
|
|
|||
9
wscript
9
wscript
|
|
@ -530,8 +530,13 @@ def configure(conf):
|
|||
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Carbon'])
|
||||
|
||||
if Options.options.soundgrid:
|
||||
conf.env.append_value ('CXXFLAGS', '-DUSE_SOUNDGRID')
|
||||
conf.env.append_value ('CFLAGS', '-DUSE_SOUNDGRID')
|
||||
conf.env.append_value ('CXXFLAGS_SOUNDGRID', [ '-D__MACOS__', '-DUSE_SOUNDGRID', '-I/Volumes/Work/paul/ardour/3.0-SG/soundgrid' ])
|
||||
conf.env.append_value ('CFLAGS_SOUNDGRID', [ '-D__MACOS__', '-DUSE_SOUNDGRID', '-I/Volumes/Work/paul/ardour/3.0-SG/soundgrid' ])
|
||||
sglib = ''.join ([ '-L', os.path.expanduser ('/Volumes/Work/paul/ardour/3.0-SG/soundgrid') ])
|
||||
conf.env.append_value ('LINKFLAGS_SOUNDGRID', [ sglib, '-lmixerapplicationcore' ])
|
||||
conf.check_cxx (header_name='WavesPublicAPI/WavesMixerAPI/1.0/WavesMixerAPI.h',
|
||||
mandatory=True, use='SOUNDGRID')
|
||||
conf.define('HAVE_SOUNDGRID', 1)
|
||||
|
||||
if Options.options.boost_include != '':
|
||||
conf.env.append_value('CXXFLAGS', '-I' + Options.options.boost_include)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue