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
@@ -41,6 +41,5 @@ px4_add_module(
position_estimator_inav_main.cpp
inertial_filter.cpp
DEPENDS
platforms__common
terrain_estimation
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
@@ -41,7 +41,7 @@
#pragma once
#include <systemlib/param/param.h>
#include <parameters/param.h>
struct position_estimator_inav_params {
float w_z_baro;