13
0
livetrax/wscript
David Robillard 0c0e689d3c Waf building of gtk2_ardour.
git-svn-id: svn://localhost/ardour2/branches/3.0@4662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:21:49 +00:00

48 lines
845 B
Python

#!/usr/bin/env python
import autowaf
# Variables for 'waf dist'
VERSION = '3.0pre0'
APPNAME = 'ardour'
# Mandatory variables
srcdir = '.'
blddir = 'build'
children = [
'libs/pbd',
'libs/midi++2',
'libs/evoral',
'libs/vamp-sdk',
'libs/taglib',
'libs/surfaces',
'libs/ardour',
'libs/gtkmm2ext',
'gtk2_ardour'
]
def set_options(opt):
autowaf.set_options(opt)
for i in children:
opt.sub_options(i)
def sub_config_and_use(conf, name, has_objects = True):
conf.sub_config(name)
autowaf.set_local_lib(conf, name, has_objects)
def configure(conf):
autowaf.set_recursive()
autowaf.configure(conf)
#conf.env.append_value('CXXFLAGS', '-DBOOST_NO_STD_LOCALE=1')
for i in children:
sub_config_and_use(conf, i)
def build(bld):
autowaf.set_recursive()
for i in children:
bld.add_subdirs(i)
def shutdown():
autowaf.shutdown()