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
+2 -3
View File
@@ -30,6 +30,7 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
px4_add_module(
MODULE lib__rc__rc_tests
MAIN rc_tests
@@ -38,7 +39,5 @@ px4_add_module(
SRCS
RCTest.cpp
DEPENDS
platforms__common
rc
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :