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
@@ -40,6 +40,5 @@ px4_add_module(
LidarLiteI2C.cpp
LidarLitePWM.cpp
DEPENDS
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
@@ -44,7 +44,7 @@
#include <px4_workqueue.h>
#include <systemlib/perf_counter.h>
#include <perf/perf_counter.h>
#include <drivers/device/i2c.h>
#include <drivers/device/ringbuffer.h>
@@ -49,7 +49,7 @@
#include <drivers/device/ringbuffer.h>
#include <systemlib/perf_counter.h>
#include <perf/perf_counter.h>
#include <uORB/uORB.h>
#include <uORB/topics/pwm_input.h>