mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
34 lines
1.0 KiB
CMake
34 lines
1.0 KiB
CMake
set (libname "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
|
|
iGas.hpp
|
|
iGyroscope.hpp
|
|
iLight.hpp
|
|
iLineFinder.hpp
|
|
iMagnetometer.hpp
|
|
iMoisture.hpp
|
|
iMotion.hpp
|
|
iPressure.hpp
|
|
iTemperature.hpp
|
|
iAcceleration.hpp
|
|
)
|
|
# Install interfaces headers a bit differently
|
|
install (FILES ${module_hpp} DESTINATION include/upm/interfaces COMPONENT ${libname})
|