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 591B

123456789101112131415161718192021
  1. cmake_minimum_required(VERSION 3.1.0)
  2. project(lfr_socket VERSION 0.1.0)
  3. include(CTest)
  4. enable_testing()
  5. set(THREADS_PREFER_PTHREAD_FLAG ON)
  6. find_package(Threads REQUIRED)
  7. add_executable(lfr_socket lfr_socket.cpp lfr_socket_main.cpp)
  8. add_library(lfr_socket_lib lfr_socket.cpp)
  9. target_link_libraries( lfr_socket Threads::Threads)
  10. target_link_libraries( lfr_socket_lib Threads::Threads)
  11. target_include_directories(lfr_socket PUBLIC .)
  12. target_include_directories(lfr_socket_lib PUBLIC .)
  13. set(CPACK_PROJECT_NAME ${PROJECT_NAME})
  14. set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
  15. include(CPack)