No Description

CMakeLists.txt 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. add_executable (proximity max44000.cxx)
  16. add_executable (accelerometer mma7455.cxx)
  17. add_executable (lcd st7735.cxx)
  18. add_executable (max31855-example max31855.cxx)
  19. add_executable (gy65-example gy65.cxx)
  20. add_executable (stepmotor-example stepmotor.cxx)
  21. add_executable (pulsensor-example pulsensor.cxx)
  22. add_executable (mic-example mic-example.cxx)
  23. add_executable (mpu9150-example mpu9150-example.cxx)
  24. add_executable (maxds3231m-example maxds3231m.cxx)
  25. add_executable (max31723-example max31723.cxx)
  26. add_executable (max5487-example max5487.cxx)
  27. add_executable (nrf8001-broadcast-example nrf8001_broadcast.cxx)
  28. add_executable (nrf8001-helloworld-example nrf8001_helloworld.cxx)
  29. add_executable (lpd8806-example lpd8806-example.cxx)
  30. add_executable (mlx90614-example mlx90614-example.cxx)
  31. add_executable (ecs1030-example ecs1030-example.cxx)
  32. add_executable (mq2-example mq2-example.cxx)
  33. add_executable (mq3-example mq3-example.cxx)
  34. add_executable (mq5-example mq5-example.cxx)
  35. add_executable (mq9-example mq9-example.cxx)
  36. add_executable (tcs3414cs-example tcs3414cs-example.cxx)
  37. add_executable (th02-example th02-example.cxx)
  38. include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l)
  39. include_directories (${PROJECT_SOURCE_DIR}/src/grove)
  40. include_directories (${PROJECT_SOURCE_DIR}/src/lcd)
  41. include_directories (${PROJECT_SOURCE_DIR}/src/buzzer)
  42. include_directories (${PROJECT_SOURCE_DIR}/src/my9221)
  43. include_directories (${PROJECT_SOURCE_DIR}/src/tm1637)
  44. include_directories (${PROJECT_SOURCE_DIR}/src/nrf24l01)
  45. include_directories (${PROJECT_SOURCE_DIR}/src/servo)
  46. include_directories (${PROJECT_SOURCE_DIR}/src/hcsr04)
  47. include_directories (${PROJECT_SOURCE_DIR}/src/max44000)
  48. include_directories (${PROJECT_SOURCE_DIR}/src/mma7455)
  49. include_directories (${PROJECT_SOURCE_DIR}/src/st7735)
  50. include_directories (${PROJECT_SOURCE_DIR}/src/max31855)
  51. include_directories (${PROJECT_SOURCE_DIR}/src/gy65)
  52. include_directories (${PROJECT_SOURCE_DIR}/src/stepmotor)
  53. include_directories (${PROJECT_SOURCE_DIR}/src/pulsensor)
  54. include_directories (${PROJECT_SOURCE_DIR}/src/mic)
  55. include_directories (${PROJECT_SOURCE_DIR}/src/mpu9150)
  56. include_directories (${PROJECT_SOURCE_DIR}/src/maxds3231m)
  57. include_directories (${PROJECT_SOURCE_DIR}/src/max31723)
  58. include_directories (${PROJECT_SOURCE_DIR}/src/max5487)
  59. include_directories (${PROJECT_SOURCE_DIR}/src/nrf8001)
  60. include_directories (${PROJECT_SOURCE_DIR}/src/lpd8806)
  61. include_directories (${PROJECT_SOURCE_DIR}/src/mlx90614)
  62. include_directories (${PROJECT_SOURCE_DIR}/src/ecs1030)
  63. include_directories (${PROJECT_SOURCE_DIR}/src/gas)
  64. include_directories (${PROJECT_SOURCE_DIR}/src/tcs3414cs)
  65. include_directories (${PROJECT_SOURCE_DIR}/src/th02)
  66. target_link_libraries (compass hmc5883l ${CMAKE_THREAD_LIBS_INIT})
  67. target_link_libraries (groveled grove ${CMAKE_THREAD_LIBS_INIT})
  68. target_link_libraries (grovetemp grove ${CMAKE_THREAD_LIBS_INIT})
  69. target_link_libraries (lcm-lcd i2clcd ${CMAKE_THREAD_LIBS_INIT})
  70. target_link_libraries (rgb-lcd i2clcd ${CMAKE_THREAD_LIBS_INIT})
  71. target_link_libraries (buzzer-sound buzzer ${CMAKE_THREAD_LIBS_INIT})
  72. target_link_libraries (led-bar my9221 ${CMAKE_THREAD_LIBS_INIT})
  73. target_link_libraries (seg-lcd tm1637 ${CMAKE_THREAD_LIBS_INIT})
  74. target_link_libraries (nrf_transmitter nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
  75. target_link_libraries (nrf_receiver nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
  76. target_link_libraries (es08a servo ${CMAKE_THREAD_LIBS_INIT})
  77. target_link_libraries (son-hcsr04 hcsr04 ${CMAKE_THREAD_LIBS_INIT})
  78. target_link_libraries (oled-1308 i2clcd ${CMAKE_THREAD_LIBS_INIT})
  79. target_link_libraries (oled-1327 i2clcd ${CMAKE_THREAD_LIBS_INIT})
  80. target_link_libraries (proximity max44000 ${CMAKE_THREAD_LIBS_INIT})
  81. target_link_libraries (accelerometer mma7455 ${CMAKE_THREAD_LIBS_INIT})
  82. target_link_libraries (lcd st7735 ${CMAKE_THREAD_LIBS_INIT})
  83. target_link_libraries (max31855-example max31855 ${CMAKE_THREAD_LIBS_INIT})
  84. target_link_libraries (gy65-example gy65 ${CMAKE_THREAD_LIBS_INIT})
  85. target_link_libraries (stepmotor-example stepmotor ${CMAKE_THREAD_LIBS_INIT})
  86. target_link_libraries (pulsensor-example pulsensor ${CMAKE_THREAD_LIBS_INIT})
  87. target_link_libraries (mic-example mic ${CMAKE_THREAD_LIBS_INIT})
  88. target_link_libraries (mpu9150-example mpu9150 ${CMAKE_THREAD_LIBS_INIT})
  89. target_link_libraries (maxds3231m-example maxds3231m ${CMAKE_THREAD_LIBS_INIT})
  90. target_link_libraries (max31723-example max31723 ${CMAKE_THREAD_LIBS_INIT})
  91. target_link_libraries (max5487-example max5487 ${CMAKE_THREAD_LIBS_INIT})
  92. target_link_libraries (nrf8001-broadcast-example nrf8001 ${CMAKE_THREAD_LIBS_INIT})
  93. target_link_libraries (nrf8001-helloworld-example nrf8001 ${CMAKE_THREAD_LIBS_INIT})
  94. target_link_libraries (lpd8806-example lpd8806 ${CMAKE_THREAD_LIBS_INIT})
  95. target_link_libraries (mlx90614-example mlx90614 ${CMAKE_THREAD_LIBS_INIT})
  96. target_link_libraries (ecs1030-example ecs1030 ${CMAKE_THREAD_LIBS_INIT})
  97. target_link_libraries (mq2-example gas ${CMAKE_THREAD_LIBS_INIT})
  98. target_link_libraries (mq3-example gas ${CMAKE_THREAD_LIBS_INIT})
  99. target_link_libraries (mq5-example gas ${CMAKE_THREAD_LIBS_INIT})
  100. target_link_libraries (mq9-example gas ${CMAKE_THREAD_LIBS_INIT})
  101. target_link_libraries (tcs3414cs-example tcs3414cs ${CMAKE_THREAD_LIBS_INIT})
  102. target_link_libraries (th02-example th02 ${CMAKE_THREAD_LIBS_INIT})