mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
AU: standalone scanner tool
This commit is contained in:
parent
b166db5496
commit
d4212da693
8 changed files with 1147 additions and 3 deletions
37
libs/auscan/wscript
Normal file
37
libs/auscan/wscript
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#!/usr/bin/env python
|
||||
from waflib.extras import autowaf as autowaf
|
||||
from waflib import TaskGen
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Mandatory variables
|
||||
top = '.'
|
||||
out = 'build'
|
||||
|
||||
# needed for code used from libardour
|
||||
I18N_PACKAGE = 'ardour'
|
||||
|
||||
def options(opt):
|
||||
autowaf.set_options(opt)
|
||||
|
||||
def configure(conf):
|
||||
conf.load('compiler_cxx')
|
||||
autowaf.configure(conf)
|
||||
|
||||
def build(bld):
|
||||
if bld.is_defined('AUDIOUNIT_SUPPORT'):
|
||||
obj = bld (features = 'cxx c cxxprogram')
|
||||
obj.source = 'au-scanner.cc'
|
||||
obj.target = 'ardour-au-scanner'
|
||||
obj.includes = [ '../pbd/', '../ardour/', '..' ]
|
||||
obj.defines = [
|
||||
'AU_SCANNER_APP',
|
||||
'VERSIONSTRING="' + str(bld.env['VERSION']) + '"',
|
||||
'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',
|
||||
'LIBARDOUR="' + bld.env['lwrcase_dirname'] + '"',
|
||||
'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
|
||||
]
|
||||
obj.use = [ 'libpbd', 'libappleutility', 'libtemporal', 'libevoral' ]
|
||||
obj.uselib = 'GIOMM DL UUID ARCHIVE CURL XML COREAUDIO AUDIOUNITS OSX'
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'])
|
||||
obj.cxxflags = ['-Wno-deprecated-declarations']
|
||||
Loading…
Add table
Add a link
Reference in a new issue