mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 06:33: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:
@@ -30,11 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
px4_add_module(
|
||||
MODULE lib__mathlib
|
||||
COMPILE_FLAGS
|
||||
SRCS
|
||||
math/test/test.cpp
|
||||
math/matrix_alg.cpp
|
||||
math/filter/LowPassFilter2p.cpp
|
||||
)
|
||||
|
||||
px4_add_library(mathlib
|
||||
math/test/test.cpp
|
||||
math/matrix_alg.cpp
|
||||
math/filter/LowPassFilter2p.cpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user