mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 09:20:39 +03:00

In an effort to clean-up and standardize UPM library documentation, this commit updates (and in most cases, unifies) the CMake description string AND CXX header @comname string. Strings were taken from datasheets when possible, spelling mistakes were addressed, copy/paste errors where fixed, Title Case was used, etc. * Tested/updated/added @web tags * Added/updated invalid sensor images * Added/updated @man tags, added missing manufacturers Signed-off-by: Noel Eck <noel.eck@intel.com>
22 lines
749 B
CMake
22 lines
749 B
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 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})
|