diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-01-31 14:45:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-01-31 14:45:56 +0000 |
commit | 85b4ff8669c80e3af1f89b826e37a964c62ae51a (patch) | |
tree | 7827651610367ab3ac8d0965ffca66c8d7b2b02d /tools/sanity_check/wscript | |
parent | d46766aefff101f05558c304c380e1b4aac40774 (diff) |
copy sanitycheck from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/3.0@8624 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools/sanity_check/wscript')
-rw-r--r-- | tools/sanity_check/wscript | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/sanity_check/wscript b/tools/sanity_check/wscript new file mode 100644 index 0000000000..51fa810af4 --- /dev/null +++ b/tools/sanity_check/wscript @@ -0,0 +1,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') + |