Browse Source
That will make it possible to replace calls of the form `ardupilotwaf.<method>(bld, <keyword-args...>)` with `bld.<method>(<keyword-args...>)` in the wscripts. Advantages of that approach: - there is no need to import ardupilotwaf in every single wscript - it follows the same standard used by c and cxx tools (like bld.program, bld.stlib etc) - semantically, ap_program, ap_stlib, example etc are all build related methods, so it makes sense to bind them to the build context - from the wscripts' perspective, the code is cleaner, since ardupilotwaf, which is not specific to just build contexts, isn't *explictly* usedmaster
Gustavo Jose de Sousa
9 years ago
committed by
Lucas De Marchi
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue