mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 17:10:34 +08:00
cmake remove circular linking and reorganize
- px4_add_module now requires MAIN - px4_add_library doesn't automatically link
This commit is contained in:
@@ -39,6 +39,4 @@ px4_add_module(
|
||||
SRCS
|
||||
param.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
@@ -58,10 +58,7 @@
|
||||
#include <arch/board/board.h>
|
||||
|
||||
#include "systemlib/systemlib.h"
|
||||
#include "systemlib/param/param.h"
|
||||
#if defined(FLASH_BASED_PARAMS)
|
||||
# include "systemlib/flashparams/flashparams.h"
|
||||
#endif
|
||||
#include <parameters/param.h>
|
||||
#include "systemlib/err.h"
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
Reference in New Issue
Block a user