mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 04:13:34 +08:00
Cleanup of module building.
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
set(directories
|
||||
./roboclaw
|
||||
./device
|
||||
./px4io
|
||||
./boards/px4fmu-v2
|
||||
./boards/px4-stm32f4discovery
|
||||
./boards/px4io-v2
|
||||
./boards/px4io-v1
|
||||
./boards/px4fmu-v1
|
||||
./boards/aerocore
|
||||
./boards/sitl
|
||||
./mpu6000
|
||||
./gimbal
|
||||
./camera_trigger
|
||||
./pwm_input
|
||||
./pwm_out_sim
|
||||
./pca9685
|
||||
./mkblctrl
|
||||
./sf0x
|
||||
./hott/hott_telemetry
|
||||
./hott/hott_sensors
|
||||
./hott
|
||||
./ms5611
|
||||
./led
|
||||
./irlock
|
||||
./bma180
|
||||
./l3gd20
|
||||
./blinkm
|
||||
./md25
|
||||
./lsm303d
|
||||
./pca8574
|
||||
./mb12xx
|
||||
./trone
|
||||
./airspeed
|
||||
./rgbled
|
||||
./frsky_telemetry
|
||||
./meas_airspeed
|
||||
./px4flow
|
||||
./mpu9250
|
||||
./gps
|
||||
./ets_airspeed
|
||||
./ll40ls
|
||||
./ardrone_interface
|
||||
./hmc5883
|
||||
./px4fmu
|
||||
./stm32/tone_alarm
|
||||
./stm32/adc
|
||||
./stm32
|
||||
./oreoled
|
||||
./batt_smbus
|
||||
)
|
||||
|
||||
foreach(directory ${directories})
|
||||
add_subdirectory(${directory} EXCLUDE_FROM_ALL)
|
||||
endforeach()
|
||||
@@ -35,13 +35,17 @@ set(SRCS)
|
||||
|
||||
if(${OS} STREQUAL "nuttx")
|
||||
list(APPEND SRCS
|
||||
device_nuttx.cpp
|
||||
cdev.cpp
|
||||
i2c_nuttx.cpp
|
||||
pio.cpp
|
||||
spi.cpp
|
||||
ringbuffer.cpp
|
||||
)
|
||||
if (NOT ${BOARD} STREQUAL "sim")
|
||||
list(APPEND SRCS
|
||||
device_nuttx.cpp
|
||||
cdev.cpp
|
||||
i2c_nuttx.cpp
|
||||
pio.cpp
|
||||
spi.cpp
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
list(APPEND SRCS
|
||||
device_posix.cpp
|
||||
|
||||
Reference in New Issue
Block a user