123456789101112131415161718192021222324252627282930313233343536373839 |
- add_executable (compass compass.cxx)
- add_executable (groveled groveled.cxx)
- add_executable (grovetemp grovetemp.cxx)
- add_executable (lcm-lcd lcm-lcd.cxx)
- add_executable (rgb-lcd rgb-lcd.cxx)
- add_executable (buzzer-sound buzzer-sound.cxx)
- add_executable (led-bar led-bar.cxx)
- add_executable (seg-lcd 4digitdisplay.cxx)
- add_executable (nrf_transmitter nrf_transmitter.cxx)
- add_executable (nrf_receiver nrf_receiver.cxx)
- add_executable (es08a es08a.cxx)
- add_executable (son-hcsr04 hcsr04.cxx)
- add_executable (oled-1308 oled-1308.cxx)
- add_executable (oled-1327 oled-1327.cxx)
-
- include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l)
- include_directories (${PROJECT_SOURCE_DIR}/src/grove)
- include_directories (${PROJECT_SOURCE_DIR}/src/lcd)
- include_directories (${PROJECT_SOURCE_DIR}/src/buzzer)
- include_directories (${PROJECT_SOURCE_DIR}/src/ledbar)
- include_directories (${PROJECT_SOURCE_DIR}/src/4digitdisplay)
- include_directories (${PROJECT_SOURCE_DIR}/src/nrf24l01)
- include_directories (${PROJECT_SOURCE_DIR}/src/servo)
- include_directories (${PROJECT_SOURCE_DIR}/src/hcsr04)
-
- target_link_libraries (compass hmc5883l ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (groveled grove ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (grovetemp grove ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (lcm-lcd i2clcd ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (rgb-lcd i2clcd ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (buzzer-sound buzzer ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (led-bar ledbar ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (seg-lcd 4digitdisplay ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (nrf_transmitter nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (nrf_receiver nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (es08a servo ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (son-hcsr04 hcsr04 ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (oled-1308 i2clcd ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries (oled-1327 i2clcd ${CMAKE_THREAD_LIBS_INIT})
|