David Robillard
c1ef7b14a3
Always load waf tools first (prevent smashing of --debug, DATADIR, etc). git-svn-id: svn://localhost/ardour2/branches/3.0@10163 d708f5d6-7413-0410-9779-e7cbd77b26cf
28 lines
546 B
Python
28 lines
546 B
Python
#!/usr/bin/env python
|
|
from waflib.extras import autowaf as autowaf
|
|
import os
|
|
|
|
# Mandatory variables
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
panners = [ '2in2out', '1in2out', 'vbap' ]
|
|
|
|
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)
|
|
|
|
for i in panners:
|
|
sub_config_and_use(conf, i)
|
|
|
|
def build(bld):
|
|
for i in panners:
|
|
bld.recurse(i)
|