19 lines
623 B
CMake
19 lines
623 B
CMake
|
|
set (libname "interfaces")
|
||
|
|
set (libdescription "CXX interface library")
|
||
|
|
set (module_src ${libname}.cxx)
|
||
|
|
|
||
|
|
upm_module_init()
|
||
|
|
|
||
|
|
# Don't add the hpp files with upm_module_init, this allows
|
||
|
|
# them to be installed separately
|
||
|
|
set (module_hpp iADC.hpp
|
||
|
|
iCO2Sensor.hpp
|
||
|
|
iHumiditySensor.hpp
|
||
|
|
iLightController.hpp
|
||
|
|
iLightSensor.hpp
|
||
|
|
iModuleStatus.hpp
|
||
|
|
iPressureSensor.hpp
|
||
|
|
iTemperatureSensor.hpp)
|
||
|
|
# Install interfaces headers a bit differently
|
||
|
|
install (FILES ${module_hpp} DESTINATION include/upm/${libname} COMPONENT ${libname})
|