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
24 lines
542 B
Python
24 lines
542 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 configure(conf):
|
|
conf.load('compiler_cxx')
|
|
autowaf.configure(conf)
|
|
|
|
def build(bld):
|
|
obj = bld(features = 'cxx cxxprogram')
|
|
obj.includes = [ '.' ]
|
|
obj.source = [ 'main.cpp', 'systemtest.cpp' ]
|
|
obj.target = 'sanityCheck'
|
|
obj.name = 'sanityCheck'
|
|
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|