mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 07:05:43 +01:00
Add top level wscript.
git-svn-id: svn://localhost/ardour2/branches/3.0@4657 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
24f5ad743e
commit
b8b6042e35
2 changed files with 38 additions and 2 deletions
36
wscript
Normal file
36
wscript
Normal file
|
|
@ -0,0 +1,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()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue