mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 03:33:35 +08:00
Merge branch 'cmake-cross'
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
include_directories(
|
||||
./include
|
||||
)
|
||||
|
||||
add_library(uavcan_stm32_driver STATIC
|
||||
./src/uc_stm32_can.cpp
|
||||
./src/uc_stm32_clock.cpp
|
||||
./src/uc_stm32_thread.cpp
|
||||
)
|
||||
|
||||
add_dependencies(uavcan_stm32_driver uavcan)
|
||||
|
||||
install(DIRECTORY include/uavcan_stm32 DESTINATION include)
|
||||
install(TARGETS uavcan_stm32_driver DESTINATION lib)
|
||||
|
||||
# vim: set et ft=cmake fenc=utf-8 ff=unix sts=4 sw=4 ts=4 :)
|
||||
|
||||
Reference in New Issue
Block a user