mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
15 lines
626 B
CMake
15 lines
626 B
CMake
# Create an list of all C++ source files in this directory
|
|
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 interfaces lm35 abp)
|
|
# Test light interface for 3 sensor libraries
|
|
add_example(iLight_sample.cxx TARGETS interfaces apds9002 bh1750 max44009)
|
|
|
|
# - Create an executable for all other src files in this directory -------------
|
|
foreach (_example_src ${example_src_list})
|
|
add_example(${_example_src})
|
|
endforeach ()
|