Projektarbeit Line Following Robot bei Prof. Chowanetz im WS22/23
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 733B

123456789101112131415161718192021222324
  1. cmake_minimum_required(VERSION 3.1.0)
  2. project(lfr_central VERSION 0.1.0)
  3. include(CTest)
  4. enable_testing()
  5. set(THREADS_PREFER_PTHREAD_FLAG ON)
  6. add_subdirectory(AutonomousMode)
  7. add_subdirectory(Communication)
  8. add_subdirectory(Socket)
  9. add_executable(lfr_central main.cpp lfr_state_machine.cpp lfr_states.cpp)
  10. target_include_directories(lfr_central PRIVATE ${lfr_image_processing_SOURCE_DIRS})
  11. target_include_directories(lfr_central PRIVATE ${lfr_uart_SOURCE_DIRS})
  12. target_include_directories(lfr_central PRIVATE ${lfr_socket_SOURCE_DIRS})
  13. target_link_libraries( lfr_central lfr_image_processing_lib lfr_uart_lib lfr_socket_lib)
  14. set(CPACK_PROJECT_NAME ${PROJECT_NAME})
  15. set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
  16. include(CPack)