mirror of https://github.com/ArduPilot/ardupilot
waf: create build shortcuts for the vehicles
This commit is contained in:
parent
2448ea1611
commit
5f6debd186
|
@ -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
4
wscript
|
@ -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…
Reference in New Issue