CMakeLists.txt 396 B

1234567891011121314151617
  1. include_directories(
  2. ./include
  3. )
  4. add_library(uavcan_stm32_driver STATIC
  5. ./src/uc_stm32_can.cpp
  6. ./src/uc_stm32_clock.cpp
  7. ./src/uc_stm32_thread.cpp
  8. )
  9. add_dependencies(uavcan_stm32_driver uavcan)
  10. install(DIRECTORY include/uavcan_stm32 DESTINATION include)
  11. install(TARGETS uavcan_stm32_driver DESTINATION lib)
  12. # vim: set et ft=cmake fenc=utf-8 ff=unix sts=4 sw=4 ts=4 :)