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>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Serban Waltter
2018-06-21 16:29:09 +03:00
committed by Mihai Tudor Panu
parent b917f0ca54
commit 8312e1d18f
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)