beaglebone blue: build librobotcontrol with cmake

This commit is contained in:
Daniel Agar
2019-12-29 17:32:06 -05:00
parent b3889e6187
commit cc7a0cd69d
14 changed files with 92 additions and 50 deletions
+4 -6
View File
@@ -1,6 +1,6 @@
############################################################################
#
# Copyright (c) 2018 PX4 Development Team. All rights reserved.
# Copyright (c) 2018-2019 PX4 Development Team. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -30,10 +30,8 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error")
add_library(drivers_board
init.c
px4_add_library(drivers_board
init.cpp
)
target_link_libraries(drivers_board PRIVATE robotics_cape)