upm/src/light/CMakeLists.txt
Jon Trulson 54a84af1c3 light: modify so C++ wraps C code
This also provides some more functionality.  get_raw() has been
deprecated in favor of using getNormalized().

Signed-off-by: Jon Trulson <jtrulson@ics.com>
2017-03-17 16:24:15 -06:00

11 lines
246 B
CMake

upm_mixed_module_init (NAME light
DESCRIPTION "Analog Light Sensor"
C_HDR light.h
C_SRC light.c
CPP_HDR light.hpp
CPP_SRC light.cxx
FTI_SRC light_fti.c
CPP_WRAPS_C
REQUIRES mraa m)
target_link_libraries(light-c m)