Browse Source

waf: create build shortcuts for the vehicles

mission-4.1.18
Gustavo Jose de Sousa 9 years ago committed by Lucas De Marchi
parent
commit
5f6debd186
  1. 4
      README_waf.txt
  2. 4
      wscript

4
README_waf.txt

@ -31,6 +31,10 @@ target: @@ -31,6 +31,10 @@ target:
# List all the targets available
waf list
There are also shortcuts for vehicle builds, for example:
# Shortcut for waf --targets ArduCopter
waf copter
By default all the files produced by the build will be inside the build/
subdirectory. The binaries will also be there, with the name identifying
the target board.

4
wscript

@ -185,3 +185,7 @@ def build(bld): @@ -185,3 +185,7 @@ def build(bld):
class CheckContext(BuildContext):
'''executes tests after build'''
cmd = 'check'
copter = ardupilotwaf.build_shortcut(targets='ArduCopter')
plane = ardupilotwaf.build_shortcut(targets='ArduPlane')
rover = ardupilotwaf.build_shortcut(targets='APMrover2')

Loading…
Cancel
Save