mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 16:03:34 +08:00
cmake only include mavlink where used
This commit is contained in:
committed by
Lorenz Meier
parent
5984e3d330
commit
6a443765a5
@@ -30,6 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
|
||||
|
||||
px4_add_module(
|
||||
MODULE platforms__posix__drivers__accelsim
|
||||
MAIN accelsim
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
|
||||
|
||||
px4_add_module(
|
||||
MODULE platforms__posix__drivers__airspeedsim
|
||||
MAIN measairspeedsim
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
|
||||
|
||||
px4_add_module(
|
||||
MODULE platforms__posix__drivers__barosim
|
||||
MAIN barosim
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
|
||||
|
||||
px4_add_module(
|
||||
MODULE platforms__posix__drivers__gpssim
|
||||
MAIN gpssim
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
|
||||
|
||||
px4_add_module(
|
||||
MODULE platforms__posix__drivers__gyrosim
|
||||
MAIN gyrosim
|
||||
|
||||
Reference in New Issue
Block a user