mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 18:31:13 +03:00
Added bindings for iDistance sensors.
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:

committed by
Mihai Tudor Panu

parent
52b3087de9
commit
57f03b79aa
29
include/interfaces/CMakeLists.txt
Normal file
29
include/interfaces/CMakeLists.txt
Normal file
@ -0,0 +1,29 @@
|
||||
set (libname "new_interfaces")
|
||||
set (libdescription "CXX Interface Library")
|
||||
set (module_src ${libname}.cxx)
|
||||
|
||||
upm_module_init()
|
||||
|
||||
# Add a PUBLIC include directory to the CMAKE src dir
|
||||
target_include_directories (${libname} PUBLIC ${CMAKE_SOURCE_DIR}/src)
|
||||
|
||||
# Don't add the hpp files with upm_module_init, this allows
|
||||
# them to be installed separately
|
||||
set (module_hpp iClock.hpp
|
||||
iCollision.hpp
|
||||
iDistance.hpp
|
||||
iDistanceInterrupter.hpp
|
||||
iEC.hpp
|
||||
iEmg.hpp
|
||||
iHallEffect.hpp
|
||||
iHeartRate.hpp
|
||||
iHumidity.hpp
|
||||
iLight.hpp
|
||||
iLineFinder.hpp
|
||||
iMoisture.hpp
|
||||
iMotion.hpp
|
||||
iPressure.hpp
|
||||
iTemperature.hpp
|
||||
)
|
||||
# Install interfaces headers a bit differently
|
||||
install (FILES ${module_hpp} DESTINATION include/upm/interfaces COMPONENT ${libname})
|
Reference in New Issue
Block a user