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

@ -2,6 +2,7 @@ upm_mixed_module_init (NAME lm35
DESCRIPTION "Analog Temperature Sensor"
C_HDR lm35.h
C_SRC lm35.c
IFACE_HDR iTemperature.hpp
CPP_HDR lm35.hpp
CPP_SRC lm35.cxx
FTI_SRC lm35_fti.c