examples: synced c++ CMakeLists.txt file for examples in new format

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2015-12-04 17:01:20 -08:00
parent 01700b0d49
commit e54f5e21c3

View File

@ -220,6 +220,13 @@ add_example (adxrs610)
add_example (bma220)
add_example (dfrph)
add_example (mcp9808)
add_example (groveultrasonic)
add_example (sx1276-lora)
add_example (sx1276-fsk)
if (OPENZWAVE_FOUND)
include_directories(${OPENZWAVE_INCLUDE_DIRS})
add_example (ozw)
endif()
# These are special cases where you specify example binary, source file and module(s)
include_directories (${PROJECT_SOURCE_DIR}/src)
@ -236,11 +243,3 @@ add_custom_example (eboled-example eboled.cxx lcd)
add_custom_example (mpu60x0-example mpu60x0.cxx mpu9150)
add_custom_example (ak8975-example ak8975.cxx mpu9150)
add_custom_example (mpu9250-example mpu9250.cxx mpu9150)
add_custom_example (temperature-sensor temperature-sensor.cxx "si7005;bmp180")
add_custom_example (humidity-sensor-example humidity-sensor.cxx "si7005")
add_custom_example (pressure-sensor-example pressure-sensor.cxx "bmp180")
add_custom_example (cO2-sensor-example cO2-sensor.cxx "t6713")
add_custom_example (adc-example adc-sensor.cxx ads1015)
add_custom_example (light-sensor-example light-sensor.cxx "si1132;max44009")
add_custom_example (light-controller-example light-controller.cxx "lp8860;ds1808lc;hlg150h")