cmake remove circular linking and reorganize

- px4_add_module now requires MAIN
 - px4_add_library doesn't automatically link
This commit is contained in:
Daniel Agar
2018-04-29 21:48:54 -04:00
parent a8bc3d187f
commit ea3acb7121
576 changed files with 1406 additions and 2014 deletions
+1 -1
View File
@@ -61,6 +61,6 @@ px4_add_module(
mavlink_stream.cpp
mavlink_ulog.cpp
DEPENDS
platforms__common
git_mavlink_v2
conversion
)
+1 -1
View File
@@ -44,7 +44,7 @@
#include <stdbool.h>
#include <string.h>
#include "mavlink_bridge_header.h"
#include <systemlib/param/param.h>
#include <parameters/param.h>
mavlink_system_t mavlink_system = {
1,
+2 -2
View File
@@ -64,9 +64,9 @@
#include <drivers/drv_hrt.h>
#include <arch/board/board.h>
#include <systemlib/param/param.h>
#include <parameters/param.h>
#include <systemlib/err.h>
#include <systemlib/perf_counter.h>
#include <perf/perf_counter.h>
#include <systemlib/systemlib.h>
#include <systemlib/mavlink_log.h>
#include <lib/ecl/geo/geo.h>
+2 -2
View File
@@ -53,8 +53,8 @@
#include <arpa/inet.h>
#include <drivers/device/device.h>
#endif
#include <systemlib/param/param.h>
#include <systemlib/perf_counter.h>
#include <parameters/param.h>
#include <perf/perf_counter.h>
#include <pthread.h>
#include <systemlib/mavlink_log.h>
#include <drivers/device/ringbuffer.h>
+1 -1
View File
@@ -42,7 +42,7 @@
#pragma once
#include <systemlib/param/param.h>
#include <parameters/param.h>
#include "mavlink_bridge_header.h"
#include <uORB/uORB.h>
+1 -1
View File
@@ -75,7 +75,7 @@
#include <conversion/rotation.h>
#include <systemlib/param/param.h>
#include <parameters/param.h>
#include <systemlib/systemlib.h>
#include <systemlib/mavlink_log.h>
#include <systemlib/err.h>
+1 -1
View File
@@ -41,7 +41,7 @@
#pragma once
#include <systemlib/perf_counter.h>
#include <perf/perf_counter.h>
#include <uORB/uORB.h>
#include <uORB/topics/sensor_combined.h>
#include <uORB/topics/rc_channels.h>
@@ -51,6 +51,5 @@ px4_add_module(
../mavlink_ftp.cpp
../mavlink.c
DEPENDS
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :