Updated Java CMake and examples to comply with the new interfaces.

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Serban Waltter
2018-06-21 16:49:42 +03:00
committed by Mihai Tudor Panu
parent 9669f226b9
commit c16b33ae31
6 changed files with 41 additions and 45 deletions

View File

@ -4,9 +4,9 @@ file (GLOB example_src_list RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cxx")
# - Handle special cases here --------------------------------------------------
# Test temperature interface for 2 sensor libraries
add_example(iTemperature-sample.cxx TARGETS lm35 abp)
add_example(iTemperature_sample.cxx TARGETS new_interfaces lm35 abp)
# Test light interface for 3 sensor libraries
add_example(iLight-sample.cxx TARGETS apds9002 bh1750 max44009)
add_example(iLight_sample.cxx TARGETS new_interfaces apds9002 bh1750 max44009)
# - Create an executable for all other src files in this directory -------------
foreach (_example_src ${example_src_list})