Added interface installing to cmake.

You can use it by setting IFACE_HDR with the names of the required interfaces or set module_iface in the sensor's CMakeLists.txt file.
Example files: src/abp/CMakeLists.txt src/lm35/CMakeLists.txt

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
This commit is contained in:
Serban Waltter
2018-06-21 16:29:09 +03:00
parent 2c238661ce
commit 360306db8d
3 changed files with 16 additions and 2 deletions

View File

@ -5,4 +5,5 @@ upm_mixed_module_init (NAME abp
CPP_HDR abp.hpp
CPP_SRC abp.cxx
CPP_WRAPS_C
IFACE_HDR iTemperature.hpp
REQUIRES mraa)