39 lines
864 B
Python
39 lines
864 B
Python
#!/usr/bin/env python
|
|
from waflib.extras import autowaf as autowaf
|
|
from waflib import Options
|
|
import os
|
|
|
|
# Mandatory variables
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
|
|
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)
|
|
|
|
if conf.is_tracks_build():
|
|
panners = [ '1in2out', 'vbap', 'stereobalance' ]
|
|
else:
|
|
panners = [ '2in2out', '1in2out', 'vbap', 'stereobalance' ]
|
|
|
|
for i in panners:
|
|
sub_config_and_use(conf, i)
|
|
|
|
def build(bld):
|
|
if bld.is_tracks_build():
|
|
panners = [ '1in2out', 'vbap', 'stereobalance' ]
|
|
else:
|
|
panners = [ '2in2out', '1in2out', 'vbap', 'stereobalance' ]
|
|
|
|
for i in panners:
|
|
bld.recurse(i)
|