mirror of https://github.com/ArduPilot/ardupilot
19 lines
379 B
Plaintext
19 lines
379 B
Plaintext
|
#!/usr/bin/env python
|
||
|
# encoding: utf-8
|
||
|
|
||
|
def build(bld):
|
||
|
|
||
|
if bld.env.BOARD != 'linux':
|
||
|
return
|
||
|
|
||
|
source = bld.path.ant_glob('*.cpp')
|
||
|
source.append('../../../../libraries/SITL/SIM_Battery.cpp')
|
||
|
source.append('../../../../libraries/SITL/SIM_Frame.cpp')
|
||
|
|
||
|
bld.ap_program(
|
||
|
use='ap',
|
||
|
program_groups=['examples'],
|
||
|
source=source,
|
||
|
)
|
||
|
|