summaryrefslogtreecommitdiff
path: root/wscript
blob: 9a3fd390f2ebfb976691a5490fe17b8b8e0e0ecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/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' ]

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)
	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()