copy sanitycheck from 2.0-ongoing
[ardour.git] / tools / sanity_check / wscript
1 #!/usr/bin/env python
2 import autowaf
3 import Options
4 import os
5
6 # Mandatory variables
7 srcdir = '.'
8 blddir = 'build'
9
10 def set_options(opt):
11     autowaf.set_options(opt)
12
13 def configure(conf):
14     autowaf.configure (conf)
15     conf.check_tool('compiler_cxx')
16
17 def build(bld):
18     obj = bld.new_task_gen(features = 'cxx cprogram')
19     obj.includes = [ '.' ]
20     obj.source = [ 'main.cpp', 'systemtest.cpp' ]
21     obj.target = 'sanityCheck'
22     obj.name = 'sanityCheck'
23     obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
24