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
+4 -2
View File
@@ -46,6 +46,8 @@ px4_add_module(
temperature_compensation.cpp
DEPENDS
platforms__common
drivers__device
battery
git_ecl
ecl
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
+1 -1
View File
@@ -43,7 +43,7 @@
#include <px4_config.h>
#include <drivers/drv_rc_input.h>
#include <systemlib/param/param.h>
#include <parameters/param.h>
#include <mathlib/mathlib.h>
#include <uORB/topics/rc_parameter_map.h>
+3 -3
View File
@@ -70,10 +70,10 @@
#include <systemlib/airspeed.h>
#include <systemlib/systemlib.h>
#include <systemlib/param/param.h>
#include <parameters/param.h>
#include <systemlib/err.h>
#include <systemlib/perf_counter.h>
#include <systemlib/battery.h>
#include <perf/perf_counter.h>
#include <battery/battery.h>
#include <conversion/rotation.h>
@@ -40,7 +40,7 @@
*/
#include "temperature_compensation.h"
#include <systemlib/param/param.h>
#include <parameters/param.h>
#include <px4_defines.h>
#include <px4_log.h>
@@ -42,7 +42,7 @@
#pragma once
#include <systemlib/param/param.h>
#include <parameters/param.h>
#include <mathlib/mathlib.h>
#include "common.h"