mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 17:37:41 +01:00
36 lines
704 B
Python
36 lines
704 B
Python
#!/usr/bin/env python
|
|
from waflib.extras import autowaf as autowaf
|
|
from waflib import Options
|
|
import os
|
|
import sys
|
|
import re
|
|
|
|
# Mandatory variables
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
def backend_list():
|
|
return [ 'wavesaudio' ]
|
|
|
|
def options(opt):
|
|
autowaf.set_options(opt)
|
|
|
|
def sub_config_and_use(conf, name, has_objects = True):
|
|
conf.recurse(name)
|
|
autowaf.set_local_lib(conf, name, has_objects)
|
|
|
|
def configure(conf):
|
|
autowaf.set_recursive()
|
|
autowaf.configure(conf)
|
|
|
|
backends = backend_list()
|
|
conf.env['BACKENDS'] = backends
|
|
|
|
for i in backends:
|
|
sub_config_and_use(conf, i)
|
|
|
|
def build(bld):
|
|
backends = bld.env['BACKENDS']
|
|
|
|
for i in backends:
|
|
bld.recurse(i)
|