X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Fsanity_check%2Fwscript;h=000753e18bfdac5a32ee16dd39e1e51f291c9e7f;hb=c229e31720013e5147efe2929204faee476bfe2d;hp=1ada9e4725ad2937795f7f266af0f7ae9e62931d;hpb=4769db412dffcee699116a63fc714f88513fa0c6;p=ardour.git diff --git a/tools/sanity_check/wscript b/tools/sanity_check/wscript index 1ada9e4725..000753e18b 100644 --- a/tools/sanity_check/wscript +++ b/tools/sanity_check/wscript @@ -1,23 +1,23 @@ #!/usr/bin/env python -import autowaf -import Options +from waflib.extras import autowaf as autowaf +from waflib import Options import os # Mandatory variables -srcdir = '.' -blddir = 'build' +top = '.' +out = 'build' -def set_options(opt): +def options(opt): autowaf.set_options(opt) def configure(conf): - autowaf.configure (conf) - conf.check_tool('compiler_cxx') + conf.load('compiler_cxx') + autowaf.configure(conf) def build(bld): - obj = bld.new_task_gen(features = 'cxx cprogram') + 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') + obj.install_path = bld.env['LIBDIR']