2018-09-27 17:33:40 +03:00
|
|
|
set (libname "interfaces")
|
2018-06-21 16:36:12 +03:00
|
|
|
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
|
2018-10-08 16:43:42 +03:00
|
|
|
iGas.hpp
|
2018-10-02 16:49:48 +03:00
|
|
|
iGyroscope.hpp
|
2018-06-21 16:36:12 +03:00
|
|
|
iLight.hpp
|
|
|
|
iLineFinder.hpp
|
2018-10-02 16:49:48 +03:00
|
|
|
iMagnetometer.hpp
|
2018-06-21 16:36:12 +03:00
|
|
|
iMoisture.hpp
|
|
|
|
iMotion.hpp
|
|
|
|
iPressure.hpp
|
|
|
|
iTemperature.hpp
|
2018-07-26 18:06:33 +03:00
|
|
|
iAcceleration.hpp
|
2018-06-21 16:36:12 +03:00
|
|
|
)
|
|
|
|
# Install interfaces headers a bit differently
|
|
|
|
install (FILES ${module_hpp} DESTINATION include/upm/interfaces COMPONENT ${libname})
|