set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/examples) add_executable (hmc5883l-example hmc5883l.cxx) add_executable (groveled-example groveled.cxx) add_executable (groveled-multi-example groveled-multi.cxx) add_executable (groverelay-example groverelay.cxx) add_executable (grovelight-example grovelight.cxx) add_executable (grovetemp-example grovetemp.cxx) add_executable (grovebutton-example grovebutton.cxx) add_executable (groverotary-example groverotary.cxx) add_executable (groveslide-example groveslide.cxx) add_executable (lcm1602-lcd-example lcm1602-lcd.cxx) add_executable (jhd1313m1-lcd-example jhd1313m1-lcd.cxx) add_executable (buzzer-sound-example buzzer-sound.cxx) add_executable (my9221-ledbar-example my9221-ledbar.cxx) add_executable (my9221-updown-example my9221-updown.cxx) add_executable (nrf24l01-transmitter-example nrf24l01-transmitter.cxx) add_executable (nrf24l01-receiver-example nrf24l01-receiver.cxx) add_executable (nrf24l01-broadcast-example nrf24l01-broadcast.cxx) add_executable (es08a-example es08a.cxx) add_executable (son-hcsr04-example hcsr04.cxx) add_executable (ssd1308-oled-example ssd1308-oled.cxx) add_executable (ssd1327-oled-example ssd1327-oled.cxx) add_executable (max44000-example max44000.cxx) add_executable (mma7455-example mma7455.cxx) add_executable (st7735-example st7735.cxx) add_executable (max31855-example max31855.cxx) add_executable (bmpx8x-example bmpx8x.cxx) add_executable (stepmotor-example stepmotor.cxx) add_executable (pulsensor-example pulsensor.cxx) add_executable (mic-example mic.cxx) add_executable (mpu9150-example mpu9150.cxx) add_executable (maxds3231m-example maxds3231m.cxx) add_executable (max31723-example max31723.cxx) add_executable (max5487-example max5487.cxx) add_executable (nrf8001-broadcast-example nrf8001-broadcast.cxx) add_executable (nrf8001-helloworld-example nrf8001-helloworld.cxx) add_executable (lpd8806-example lpd8806.cxx) add_executable (mlx90614-example mlx90614.cxx) add_executable (ecs1030-example ecs1030.cxx) add_executable (mq2-example mq2.cxx) add_executable (mq3-example mq3.cxx) add_executable (mq5-example mq5.cxx) add_executable (mq9-example mq9.cxx) add_executable (tp401-example tp401.cxx) add_executable (tcs3414cs-example tcs3414cs.cxx) add_executable (th02-example th02.cxx) add_executable (ttp223-example ttp223.cxx) add_executable (lsm303-example lsm303.cxx) add_executable (joystick12-example joystick12-example.cxx) add_executable (lol-example lol-example.cxx) add_executable (tsl2561-example tsl2561.cxx) add_executable (htu21d-example htu21d.cxx) add_executable (mpl3115a2-example mpl3115a2.cxx) add_executable (ldt0028-example ldt0028.cxx) add_executable (am2315-example am2315.cxx) add_executable (itg3200-example itg3200.cxx) add_executable (enc03r-example enc03r.cxx) add_executable (adc121c021-example adc121c021.cxx) add_executable (ds1307-example ds1307.cxx) add_executable (a110x-example a110x.cxx) add_executable (gp2y0a-example gp2y0a.cxx) add_executable (grovemoisture-example grovemoisture.cxx) add_executable (groveehr-example groveehr.cxx) add_executable (ta12200-example ta12200.cxx) add_executable (grovelinefinder-example grovelinefinder.cxx) add_executable (grovevdiv-example grovevdiv.cxx) add_executable (grovewater-example grovewater.cxx) add_executable (guvas12d-example guvas12d.cxx) add_executable (groveloudness-example groveloudness.cxx) add_executable (mpr121-example mpr121.cxx) add_executable (ublox6-example ublox6.cxx) add_executable (yg1006-example yg1006.cxx) add_executable (wt5001-example wt5001.cxx) add_executable (ppd42ns-example ppd42ns.cxx) add_executable (mq303a-example mq303a.cxx) add_executable (grovespeaker-example grovespeaker.cxx) add_executable (rfr359f-example rfr359f.cxx) add_executable (biss0001-example biss0001.cxx) add_executable (rotaryencoder-example rotaryencoder.cxx) add_executable (adxl345-example adxl345.cxx) add_executable (rpr220-example rpr220.cxx) add_executable (rpr220-intr-example rpr220-intr.cxx) add_executable (mma7660-example mma7660.cxx) add_executable (cjq4435-example cjq4435.cxx) add_executable (adxl335-example adxl335.cxx) add_executable (hmtrp-example hmtrp.cxx) add_executable (nunchuck-example nunchuck.cxx) add_executable (otp538u-example otp538u.cxx) add_executable (grovecollision-example grovecollision.cxx) add_executable (groveelectromagnet-example groveelectromagnet.cxx) add_executable (groveemg-example groveemg.cxx) add_executable (groveo2-example groveo2.cxx) add_executable (grovegsr-example grovegsr.cxx) add_executable (ina132-example ina132.cxx) add_executable (l298-example l298.cxx) add_executable (l298-stepper-example l298-stepper.cxx) add_executable (at42qt1070-example at42qt1070.cxx) add_executable (grovemd-example grovemd.cxx) add_executable (pca9685-example pca9685.cxx) add_executable (groveeldriver-example groveeldriver.cxx) add_executable (adafruitss-example adafruitss.cxx) add_executable (adafruitms1438-example adafruitms1438.cxx) add_executable (adafruitms1438-stepper-example adafruitms1438-stepper.cxx) add_executable (hx711-example hx711.cxx) add_executable (flex-example flex.cxx) add_executable (a110x-intr-example a110x-intr.cxx) add_executable (mhz16-example mhz16.cxx) add_executable (apds9002-example apds9002.cxx) add_executable (waterlevel-example waterlevel.cxx) add_executable (tm1637-example tm1637.cxx) add_executable (zfm20-example zfm20.cxx) add_executable (zfm20-register-example zfm20-register.cxx) add_executable (uln200xa-example uln200xa.cxx) add_executable (grovewfs-example grovewfs.cxx) add_executable (isd1820-example isd1820.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/my9221) include_directories (${PROJECT_SOURCE_DIR}/src/nrf24l01) include_directories (${PROJECT_SOURCE_DIR}/src/servo) include_directories (${PROJECT_SOURCE_DIR}/src/hcsr04) include_directories (${PROJECT_SOURCE_DIR}/src/max44000) include_directories (${PROJECT_SOURCE_DIR}/src/mma7455) include_directories (${PROJECT_SOURCE_DIR}/src/st7735) include_directories (${PROJECT_SOURCE_DIR}/src/max31855) include_directories (${PROJECT_SOURCE_DIR}/src/bmpx8x) include_directories (${PROJECT_SOURCE_DIR}/src/stepmotor) include_directories (${PROJECT_SOURCE_DIR}/src/pulsensor) include_directories (${PROJECT_SOURCE_DIR}/src/mic) include_directories (${PROJECT_SOURCE_DIR}/src/mpu9150) include_directories (${PROJECT_SOURCE_DIR}/src/maxds3231m) include_directories (${PROJECT_SOURCE_DIR}/src/max31723) include_directories (${PROJECT_SOURCE_DIR}/src/max5487) include_directories (${PROJECT_SOURCE_DIR}/src/nrf8001) include_directories (${PROJECT_SOURCE_DIR}/src/lpd8806) include_directories (${PROJECT_SOURCE_DIR}/src/mlx90614) include_directories (${PROJECT_SOURCE_DIR}/src/ecs1030) include_directories (${PROJECT_SOURCE_DIR}/src/gas) include_directories (${PROJECT_SOURCE_DIR}/src/tcs3414cs) include_directories (${PROJECT_SOURCE_DIR}/src/th02) include_directories (${PROJECT_SOURCE_DIR}/src/ttp223) include_directories (${PROJECT_SOURCE_DIR}/src/lsm303) include_directories (${PROJECT_SOURCE_DIR}/src/joystick12) include_directories (${PROJECT_SOURCE_DIR}/src/lol) include_directories (${PROJECT_SOURCE_DIR}/src/tsl2561) include_directories (${PROJECT_SOURCE_DIR}/src/htu21d) include_directories (${PROJECT_SOURCE_DIR}/src/mpl3115a2) include_directories (${PROJECT_SOURCE_DIR}/src/ldt0028) include_directories (${PROJECT_SOURCE_DIR}/src/am2315) include_directories (${PROJECT_SOURCE_DIR}/src/itg3200) include_directories (${PROJECT_SOURCE_DIR}/src/enc03r) include_directories (${PROJECT_SOURCE_DIR}/src/adc121c021) include_directories (${PROJECT_SOURCE_DIR}/src/ds1307) include_directories (${PROJECT_SOURCE_DIR}/src/a110x) include_directories (${PROJECT_SOURCE_DIR}/src/gp2y0a) include_directories (${PROJECT_SOURCE_DIR}/src/grovemoisture) include_directories (${PROJECT_SOURCE_DIR}/src/groveehr) include_directories (${PROJECT_SOURCE_DIR}/src/ta12200) include_directories (${PROJECT_SOURCE_DIR}/src/grovelinefinder) include_directories (${PROJECT_SOURCE_DIR}/src/grovevdiv) include_directories (${PROJECT_SOURCE_DIR}/src/grovewater) include_directories (${PROJECT_SOURCE_DIR}/src/guvas12d) include_directories (${PROJECT_SOURCE_DIR}/src/groveloudness) include_directories (${PROJECT_SOURCE_DIR}/src/mpr121) include_directories (${PROJECT_SOURCE_DIR}/src/ublox6) include_directories (${PROJECT_SOURCE_DIR}/src/yg1006) include_directories (${PROJECT_SOURCE_DIR}/src/wt5001) include_directories (${PROJECT_SOURCE_DIR}/src/ppd42ns) include_directories (${PROJECT_SOURCE_DIR}/src/mq303a) include_directories (${PROJECT_SOURCE_DIR}/src/grovespeaker) include_directories (${PROJECT_SOURCE_DIR}/src/rfr359f) include_directories (${PROJECT_SOURCE_DIR}/src/biss0001) include_directories (${PROJECT_SOURCE_DIR}/src/rotaryencoder) include_directories (${PROJECT_SOURCE_DIR}/src/adxl345) include_directories (${PROJECT_SOURCE_DIR}/src/rpr220) include_directories (${PROJECT_SOURCE_DIR}/src/mma7660) include_directories (${PROJECT_SOURCE_DIR}/src/cjq4435) include_directories (${PROJECT_SOURCE_DIR}/src/adxl335) include_directories (${PROJECT_SOURCE_DIR}/src/hmtrp) include_directories (${PROJECT_SOURCE_DIR}/src/nunchuck) include_directories (${PROJECT_SOURCE_DIR}/src/otp538u) include_directories (${PROJECT_SOURCE_DIR}/src/grovecollision) include_directories (${PROJECT_SOURCE_DIR}/src/groveelectromagnet) include_directories (${PROJECT_SOURCE_DIR}/src/groveemg) include_directories (${PROJECT_SOURCE_DIR}/src/groveo2) include_directories (${PROJECT_SOURCE_DIR}/src/grovegsr) include_directories (${PROJECT_SOURCE_DIR}/src/ina132) include_directories (${PROJECT_SOURCE_DIR}/src/l298) include_directories (${PROJECT_SOURCE_DIR}/src/at42qt1070) include_directories (${PROJECT_SOURCE_DIR}/src/grovemd) include_directories (${PROJECT_SOURCE_DIR}/src/pca9685) include_directories (${PROJECT_SOURCE_DIR}/src/groveeldriver) include_directories (${PROJECT_SOURCE_DIR}/src/adafruitss) include_directories (${PROJECT_SOURCE_DIR}/src/adafruitms1438) include_directories (${PROJECT_SOURCE_DIR}/src/hx711) include_directories (${PROJECT_SOURCE_DIR}/src/flex) include_directories (${PROJECT_SOURCE_DIR}/src/mhz16) include_directories (${PROJECT_SOURCE_DIR}/src/apds9002) include_directories (${PROJECT_SOURCE_DIR}/src/waterlevel) include_directories (${PROJECT_SOURCE_DIR}/src/tm1637) include_directories (${PROJECT_SOURCE_DIR}/src/zfm20) include_directories (${PROJECT_SOURCE_DIR}/src/uln200xa) include_directories (${PROJECT_SOURCE_DIR}/src/grovewfs) include_directories (${PROJECT_SOURCE_DIR}/src/isd1820) target_link_libraries (hmc5883l-example hmc5883l ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveled-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveled-multi-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groverelay-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovelight-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovetemp-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovebutton-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groverotary-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveslide-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (lcm1602-lcd-example i2clcd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (jhd1313m1-lcd-example i2clcd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (buzzer-sound-example buzzer ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (my9221-ledbar-example my9221 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (my9221-updown-example my9221 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (nrf24l01-transmitter-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (nrf24l01-receiver-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (nrf24l01-broadcast-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (es08a-example servo ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (son-hcsr04-example hcsr04 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ssd1308-oled-example i2clcd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ssd1327-oled-example i2clcd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (max44000-example max44000 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mma7455-example mma7455 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (st7735-example st7735 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (max31855-example max31855 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (bmpx8x-example bmpx8x ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (stepmotor-example stepmotor ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (pulsensor-example pulsensor ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mic-example mic ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mpu9150-example mpu9150 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (maxds3231m-example maxds3231m ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (max31723-example max31723 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (max5487-example max5487 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (nrf8001-broadcast-example nrf8001 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (nrf8001-helloworld-example nrf8001 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (lpd8806-example lpd8806 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mlx90614-example mlx90614 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ecs1030-example ecs1030 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mq2-example gas ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mq3-example gas ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mq5-example gas ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mq9-example gas ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (tp401-example gas ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (tcs3414cs-example tcs3414cs ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (th02-example th02 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ttp223-example ttp223 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (lsm303-example lsm303 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (joystick12-example joystick12 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (lol-example lol ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (tsl2561-example tsl2561 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (htu21d-example htu21d ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mpl3115a2-example mpl3115a2 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ldt0028-example ldt0028 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (am2315-example am2315 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (itg3200-example itg3200 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (enc03r-example enc03r ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (adc121c021-example adc121c021 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ds1307-example ds1307 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (a110x-example a110x ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (gp2y0a-example gp2y0a ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovemoisture-example grovemoisture ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveehr-example groveehr ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ta12200-example ta12200 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovelinefinder-example grovelinefinder ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovevdiv-example grovevdiv ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovewater-example grovewater ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (guvas12d-example guvas12d ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveloudness-example groveloudness ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mpr121-example mpr121 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ublox6-example ublox6 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (yg1006-example yg1006 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (wt5001-example wt5001 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ppd42ns-example ppd42ns ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mq303a-example mq303a ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovespeaker-example grovespeaker ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (rfr359f-example rfr359f ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (biss0001-example biss0001 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (rotaryencoder-example rotaryencoder ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (adxl345-example adxl345 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (rpr220-example rpr220 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (rpr220-intr-example rpr220 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mma7660-example mma7660 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (cjq4435-example cjq4435 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (adxl335-example adxl335 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (hmtrp-example hmtrp ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (nunchuck-example nunchuck ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (otp538u-example otp538u ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovecollision-example grovecollision ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveelectromagnet-example groveelectromagnet ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveemg-example groveemg ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveo2-example groveo2 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovegsr-example grovegsr ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ina132-example ina132 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (l298-example l298 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (l298-stepper-example l298 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (at42qt1070-example at42qt1070 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovemd-example grovemd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (pca9685-example pca9685 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveeldriver-example groveeldriver ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (adafruitss-example adafruitss ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (adafruitms1438-example adafruitms1438 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (adafruitms1438-stepper-example adafruitms1438 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (hx711-example hx711 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (flex-example flex ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (a110x-intr-example a110x ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mhz16-example mhz16 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (apds9002-example apds9002 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (waterlevel-example waterlevel ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (tm1637-example tm1637 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (zfm20-example zfm20 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (zfm20-register-example zfm20 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (uln200xa-example uln200xa ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovewfs-example grovewfs ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (isd1820-example isd1820 ${CMAKE_THREAD_LIBS_INIT})