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 1.1KB

12345678910111213141516171819202122232425262728293031323334353637
  1. set(THREADS_PREFER_PTHREAD_FLAG ON)
  2. find_package( OpenCV REQUIRED )
  3. find_package(Threads REQUIRED)
  4. include_directories( ${OpenCV_INCLUDE_DIRS}
  5. ${Input_SOURCE_DIRS}
  6. ${Processing_SOURCE_DIRS}
  7. ${ControlModule_SOURCE_DIRS}
  8. ${Interpreter_SOURCE_DIRS}
  9. ${IntersectionHandler_SOURCE_DIRS}
  10. ${Utils_SOURCE_DIRS}
  11. )
  12. link_directories( ${Input_SOURCE_DIRS}
  13. ${Processing_SOURCE_DIRS}
  14. ${ControlModule_SOURCE_DIRS}
  15. ${Interpreter_SOURCE_DIRS}
  16. ${IntersectionHandler_SOURCE_DIRS}
  17. ${Utils_SOURCE_DIRS}
  18. )
  19. target_include_directories(Input PRIVATE .)
  20. target_include_directories(Processing PRIVATE .)
  21. target_include_directories(ControlModule PRIVATE .)
  22. target_include_directories(Interpreter PRIVATE .)
  23. target_include_directories(IntersectionHandler PRIVATE .)
  24. target_include_directories(Utils PRIVATE .)
  25. add_executable(spielwiese spielwiese.cpp)
  26. target_link_libraries( spielwiese ${OpenCV_LIBS} Input Processing ControlModule Interpreter IntersectionHandler Utils Threads::Threads)
  27. set(CPACK_PROJECT_NAME ${PROJECT_NAME})
  28. set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
  29. include(CPack)