No Description

CMakeLists.txt 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. add_executable (compass compass.cxx)
  2. add_executable (groveled groveled.cxx)
  3. add_executable (grovetemp grovetemp.cxx)
  4. add_executable (lcm-lcd lcm-lcd.cxx)
  5. add_executable (rgb-lcd rgb-lcd.cxx)
  6. add_executable (buzzer-sound buzzer-sound.cxx)
  7. add_executable (led-bar led-bar.cxx)
  8. add_executable (seg-lcd 4digitdisplay.cxx)
  9. add_executable (nrf_transmitter nrf_transmitter.cxx)
  10. add_executable (nrf_receiver nrf_receiver.cxx)
  11. add_executable (es08a es08a.cxx)
  12. add_executable (son-hcsr04 hcsr04.cxx)
  13. add_executable (oled-1308 oled-1308.cxx)
  14. add_executable (oled-1327 oled-1327.cxx)
  15. include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l)
  16. include_directories (${PROJECT_SOURCE_DIR}/src/grove)
  17. include_directories (${PROJECT_SOURCE_DIR}/src/lcd)
  18. include_directories (${PROJECT_SOURCE_DIR}/src/buzzer)
  19. include_directories (${PROJECT_SOURCE_DIR}/src/ledbar)
  20. include_directories (${PROJECT_SOURCE_DIR}/src/4digitdisplay)
  21. include_directories (${PROJECT_SOURCE_DIR}/src/nrf24l01)
  22. include_directories (${PROJECT_SOURCE_DIR}/src/servo)
  23. include_directories (${PROJECT_SOURCE_DIR}/src/hcsr04)
  24. target_link_libraries (compass hmc5883l ${CMAKE_THREAD_LIBS_INIT})
  25. target_link_libraries (groveled grove ${CMAKE_THREAD_LIBS_INIT})
  26. target_link_libraries (grovetemp grove ${CMAKE_THREAD_LIBS_INIT})
  27. target_link_libraries (lcm-lcd i2clcd ${CMAKE_THREAD_LIBS_INIT})
  28. target_link_libraries (rgb-lcd i2clcd ${CMAKE_THREAD_LIBS_INIT})
  29. target_link_libraries (buzzer-sound buzzer ${CMAKE_THREAD_LIBS_INIT})
  30. target_link_libraries (led-bar ledbar ${CMAKE_THREAD_LIBS_INIT})
  31. target_link_libraries (seg-lcd 4digitdisplay ${CMAKE_THREAD_LIBS_INIT})
  32. target_link_libraries (nrf_transmitter nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
  33. target_link_libraries (nrf_receiver nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
  34. target_link_libraries (es08a servo ${CMAKE_THREAD_LIBS_INIT})
  35. target_link_libraries (son-hcsr04 hcsr04 ${CMAKE_THREAD_LIBS_INIT})
  36. target_link_libraries (oled-1308 i2clcd ${CMAKE_THREAD_LIBS_INIT})
  37. target_link_libraries (oled-1327 i2clcd ${CMAKE_THREAD_LIBS_INIT})