diff --git a/Tools/ardupilotwaf/ardupilotwaf.py b/Tools/ardupilotwaf/ardupilotwaf.py index fdde93439e..64839d3aca 100644 --- a/Tools/ardupilotwaf/ardupilotwaf.py +++ b/Tools/ardupilotwaf/ardupilotwaf.py @@ -98,6 +98,10 @@ def program(bld, blddestdir='bin', **kw): **kw ) +def example(bld, **kw): + kw['blddestdir'] = 'examples' + program(bld, **kw) + # NOTE: Code in libraries/ is compiled multiple times. So ensure each # compilation is independent by providing different index for each. # The need for this should disappear when libraries change to be