No Description

CMakeLists.txt 9.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. add_executable (hmc5883l-example hmc5883l.cxx)
  2. add_executable (groveled-example groveled.cxx)
  3. add_executable (groverelay-example groverelay.cxx)
  4. add_executable (grovelight-example grovelight.cxx)
  5. add_executable (grovetemp-example grovetemp.cxx)
  6. add_executable (grovebutton-example grovebutton.cxx)
  7. add_executable (groverotary-example groverotary.cxx)
  8. add_executable (groveslide-example groveslide.cxx)
  9. add_executable (lcm-lcd-example lcm-lcd.cxx)
  10. add_executable (rgb-lcd-example rgb-lcd.cxx)
  11. add_executable (buzzer-sound-example buzzer-sound.cxx)
  12. add_executable (led-bar-example led-bar.cxx)
  13. add_executable (seg-lcd-example 4digitdisplay.cxx)
  14. add_executable (nrf_transmitter-example nrf_transmitter.cxx)
  15. add_executable (nrf_receiver-example nrf_receiver.cxx)
  16. add_executable (es08a-example es08a.cxx)
  17. add_executable (son-hcsr04-example hcsr04.cxx)
  18. add_executable (oled-1308-example oled-1308.cxx)
  19. add_executable (oled-1327-example oled-1327.cxx)
  20. add_executable (max44000-example max44000.cxx)
  21. add_executable (mma7455-example mma7455.cxx)
  22. add_executable (st7735-example st7735.cxx)
  23. add_executable (max31855-example max31855.cxx)
  24. add_executable (gy65-example gy65.cxx)
  25. add_executable (stepmotor-example stepmotor.cxx)
  26. add_executable (pulsensor-example pulsensor.cxx)
  27. add_executable (mic-example mic.cxx)
  28. add_executable (mpu9150-example mpu9150.cxx)
  29. add_executable (maxds3231m-example maxds3231m.cxx)
  30. add_executable (max31723-example max31723.cxx)
  31. add_executable (max5487-example max5487.cxx)
  32. add_executable (nrf8001-broadcast-example nrf8001_broadcast.cxx)
  33. add_executable (nrf8001-helloworld-example nrf8001_helloworld.cxx)
  34. add_executable (lpd8806-example lpd8806.cxx)
  35. add_executable (mlx90614-example mlx90614.cxx)
  36. add_executable (ecs1030-example ecs1030.cxx)
  37. add_executable (mq2-example mq2.cxx)
  38. add_executable (mq3-example mq3.cxx)
  39. add_executable (mq5-example mq5.cxx)
  40. add_executable (mq9-example mq9.cxx)
  41. add_executable (tp401-example tp401.cxx)
  42. add_executable (tcs3414cs-example tcs3414cs.cxx)
  43. add_executable (th02-example th02.cxx)
  44. add_executable (ttp223-example ttp223.cxx)
  45. add_executable (lsm303-example lsm303.cxx)
  46. add_executable (joystick12-example joystick12-example.cxx)
  47. add_executable (lol-example lol-example.cxx)
  48. add_executable (nrf_ble_broadcast-example ble_broadcast.cxx)
  49. add_executable (tsl2561-example tsl2561.cxx)
  50. add_executable (htu21d-example htu21d.cxx)
  51. add_executable (mpl3115a2-example mpl3115a2.cxx)
  52. add_executable (ldt0028-example ldt0028.cxx)
  53. add_executable (am2315-example am2315.cxx)
  54. add_executable (itg3200-example itg3200.cxx)
  55. add_executable (enc03r-example enc03r.cxx)
  56. add_executable (adc121c021-example adc121c021.cxx)
  57. add_executable (ds1307-example ds1307.cxx)
  58. add_executable (a110x-example a110x.cxx)
  59. include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l)
  60. include_directories (${PROJECT_SOURCE_DIR}/src/grove)
  61. include_directories (${PROJECT_SOURCE_DIR}/src/lcd)
  62. include_directories (${PROJECT_SOURCE_DIR}/src/buzzer)
  63. include_directories (${PROJECT_SOURCE_DIR}/src/my9221)
  64. include_directories (${PROJECT_SOURCE_DIR}/src/tm1637)
  65. include_directories (${PROJECT_SOURCE_DIR}/src/nrf24l01)
  66. include_directories (${PROJECT_SOURCE_DIR}/src/servo)
  67. include_directories (${PROJECT_SOURCE_DIR}/src/hcsr04)
  68. include_directories (${PROJECT_SOURCE_DIR}/src/max44000)
  69. include_directories (${PROJECT_SOURCE_DIR}/src/mma7455)
  70. include_directories (${PROJECT_SOURCE_DIR}/src/st7735)
  71. include_directories (${PROJECT_SOURCE_DIR}/src/max31855)
  72. include_directories (${PROJECT_SOURCE_DIR}/src/gy65)
  73. include_directories (${PROJECT_SOURCE_DIR}/src/stepmotor)
  74. include_directories (${PROJECT_SOURCE_DIR}/src/pulsensor)
  75. include_directories (${PROJECT_SOURCE_DIR}/src/mic)
  76. include_directories (${PROJECT_SOURCE_DIR}/src/mpu9150)
  77. include_directories (${PROJECT_SOURCE_DIR}/src/maxds3231m)
  78. include_directories (${PROJECT_SOURCE_DIR}/src/max31723)
  79. include_directories (${PROJECT_SOURCE_DIR}/src/max5487)
  80. include_directories (${PROJECT_SOURCE_DIR}/src/nrf8001)
  81. include_directories (${PROJECT_SOURCE_DIR}/src/lpd8806)
  82. include_directories (${PROJECT_SOURCE_DIR}/src/mlx90614)
  83. include_directories (${PROJECT_SOURCE_DIR}/src/ecs1030)
  84. include_directories (${PROJECT_SOURCE_DIR}/src/gas)
  85. include_directories (${PROJECT_SOURCE_DIR}/src/tcs3414cs)
  86. include_directories (${PROJECT_SOURCE_DIR}/src/th02)
  87. include_directories (${PROJECT_SOURCE_DIR}/src/ttp223)
  88. include_directories (${PROJECT_SOURCE_DIR}/src/lsm303)
  89. include_directories (${PROJECT_SOURCE_DIR}/src/joystick12)
  90. include_directories (${PROJECT_SOURCE_DIR}/src/lol)
  91. include_directories (${PROJECT_SOURCE_DIR}/src/tsl2561)
  92. include_directories (${PROJECT_SOURCE_DIR}/src/htu21d)
  93. include_directories (${PROJECT_SOURCE_DIR}/src/mpl3115a2)
  94. include_directories (${PROJECT_SOURCE_DIR}/src/ldt0028)
  95. include_directories (${PROJECT_SOURCE_DIR}/src/am2315)
  96. include_directories (${PROJECT_SOURCE_DIR}/src/itg3200)
  97. include_directories (${PROJECT_SOURCE_DIR}/src/enc03r)
  98. include_directories (${PROJECT_SOURCE_DIR}/src/adc121c021)
  99. include_directories (${PROJECT_SOURCE_DIR}/src/ds1307)
  100. include_directories (${PROJECT_SOURCE_DIR}/src/a110x)
  101. target_link_libraries (hmc5883l-example hmc5883l ${CMAKE_THREAD_LIBS_INIT})
  102. target_link_libraries (groveled-example grove ${CMAKE_THREAD_LIBS_INIT})
  103. target_link_libraries (groverelay-example grove ${CMAKE_THREAD_LIBS_INIT})
  104. target_link_libraries (grovelight-example grove ${CMAKE_THREAD_LIBS_INIT})
  105. target_link_libraries (grovetemp-example grove ${CMAKE_THREAD_LIBS_INIT})
  106. target_link_libraries (grovebutton-example grove ${CMAKE_THREAD_LIBS_INIT})
  107. target_link_libraries (groverotary-example grove ${CMAKE_THREAD_LIBS_INIT})
  108. target_link_libraries (groveslide-example grove ${CMAKE_THREAD_LIBS_INIT})
  109. target_link_libraries (lcm-lcd-example i2clcd ${CMAKE_THREAD_LIBS_INIT})
  110. target_link_libraries (rgb-lcd-example i2clcd ${CMAKE_THREAD_LIBS_INIT})
  111. target_link_libraries (buzzer-sound-example buzzer ${CMAKE_THREAD_LIBS_INIT})
  112. target_link_libraries (led-bar-example my9221 ${CMAKE_THREAD_LIBS_INIT})
  113. target_link_libraries (seg-lcd-example tm1637 ${CMAKE_THREAD_LIBS_INIT})
  114. target_link_libraries (nrf_transmitter-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
  115. target_link_libraries (nrf_receiver-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
  116. target_link_libraries (es08a-example servo ${CMAKE_THREAD_LIBS_INIT})
  117. target_link_libraries (son-hcsr04-example hcsr04 ${CMAKE_THREAD_LIBS_INIT})
  118. target_link_libraries (oled-1308-example i2clcd ${CMAKE_THREAD_LIBS_INIT})
  119. target_link_libraries (oled-1327-example i2clcd ${CMAKE_THREAD_LIBS_INIT})
  120. target_link_libraries (max44000-example max44000 ${CMAKE_THREAD_LIBS_INIT})
  121. target_link_libraries (mma7455-example mma7455 ${CMAKE_THREAD_LIBS_INIT})
  122. target_link_libraries (st7735-example st7735 ${CMAKE_THREAD_LIBS_INIT})
  123. target_link_libraries (max31855-example max31855 ${CMAKE_THREAD_LIBS_INIT})
  124. target_link_libraries (gy65-example gy65 ${CMAKE_THREAD_LIBS_INIT})
  125. target_link_libraries (stepmotor-example stepmotor ${CMAKE_THREAD_LIBS_INIT})
  126. target_link_libraries (pulsensor-example pulsensor ${CMAKE_THREAD_LIBS_INIT})
  127. target_link_libraries (mic-example mic ${CMAKE_THREAD_LIBS_INIT})
  128. target_link_libraries (mpu9150-example mpu9150 ${CMAKE_THREAD_LIBS_INIT})
  129. target_link_libraries (maxds3231m-example maxds3231m ${CMAKE_THREAD_LIBS_INIT})
  130. target_link_libraries (max31723-example max31723 ${CMAKE_THREAD_LIBS_INIT})
  131. target_link_libraries (max5487-example max5487 ${CMAKE_THREAD_LIBS_INIT})
  132. target_link_libraries (nrf8001-broadcast-example nrf8001 ${CMAKE_THREAD_LIBS_INIT})
  133. target_link_libraries (nrf8001-helloworld-example nrf8001 ${CMAKE_THREAD_LIBS_INIT})
  134. target_link_libraries (lpd8806-example lpd8806 ${CMAKE_THREAD_LIBS_INIT})
  135. target_link_libraries (mlx90614-example mlx90614 ${CMAKE_THREAD_LIBS_INIT})
  136. target_link_libraries (ecs1030-example ecs1030 ${CMAKE_THREAD_LIBS_INIT})
  137. target_link_libraries (mq2-example gas ${CMAKE_THREAD_LIBS_INIT})
  138. target_link_libraries (mq3-example gas ${CMAKE_THREAD_LIBS_INIT})
  139. target_link_libraries (mq5-example gas ${CMAKE_THREAD_LIBS_INIT})
  140. target_link_libraries (mq9-example gas ${CMAKE_THREAD_LIBS_INIT})
  141. target_link_libraries (tp401-example gas ${CMAKE_THREAD_LIBS_INIT})
  142. target_link_libraries (tcs3414cs-example tcs3414cs ${CMAKE_THREAD_LIBS_INIT})
  143. target_link_libraries (th02-example th02 ${CMAKE_THREAD_LIBS_INIT})
  144. target_link_libraries (ttp223-example ttp223 ${CMAKE_THREAD_LIBS_INIT})
  145. target_link_libraries (lsm303-example lsm303 ${CMAKE_THREAD_LIBS_INIT})
  146. target_link_libraries (joystick12-example joystick12 ${CMAKE_THREAD_LIBS_INIT})
  147. target_link_libraries (lol-example lol ${CMAKE_THREAD_LIBS_INIT})
  148. target_link_libraries (nrf_ble_broadcast-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
  149. target_link_libraries (tsl2561-example tsl2561 ${CMAKE_THREAD_LIBS_INIT})
  150. target_link_libraries (htu21d-example htu21d ${CMAKE_THREAD_LIBS_INIT})
  151. target_link_libraries (mpl3115a2-example mpl3115a2 ${CMAKE_THREAD_LIBS_INIT})
  152. target_link_libraries (ldt0028-example ldt0028 ${CMAKE_THREAD_LIBS_INIT})
  153. target_link_libraries (am2315-example am2315 ${CMAKE_THREAD_LIBS_INIT})
  154. target_link_libraries (itg3200-example itg3200 ${CMAKE_THREAD_LIBS_INIT})
  155. target_link_libraries (enc03r-example enc03r ${CMAKE_THREAD_LIBS_INIT})
  156. target_link_libraries (adc121c021-example adc121c021 ${CMAKE_THREAD_LIBS_INIT})
  157. target_link_libraries (ds1307-example ds1307 ${CMAKE_THREAD_LIBS_INIT})
  158. target_link_libraries (a110x-example a110x ${CMAKE_THREAD_LIBS_INIT})