summaryrefslogtreecommitdiff
path: root/tools/sanity_check/wscript
blob: 51fa810af4b96596e0d6deef8cc2f4a407d665dc (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
#!/usr/bin/env python
import autowaf
import Options
import os

# Mandatory variables
srcdir = '.'
blddir = 'build'

def set_options(opt):
    autowaf.set_options(opt)

def configure(conf):
    autowaf.configure (conf)
    conf.check_tool('compiler_cxx')

def build(bld):
    obj = bld.new_task_gen(features = 'cxx cprogram')
    obj.includes = [ '.' ]
    obj.source = [ 'main.cpp', 'systemtest.cpp' ]
    obj.target = 'sanityCheck'
    obj.name = 'sanityCheck'
    obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')