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>
17 lines
817 B
CMake
17 lines
817 B
CMake
if (OPENZWAVE_FOUND)
|
|
set (libname "ozw")
|
|
set (libdescription "Module for the OpenZWave Library Interface")
|
|
set (module_src ${libname}.cxx zwNode.cxx ozwinterface.cxx ozwdump.cxx aeotecss6.cxx aeotecsdg2.cxx aeotecdw2e.cxx aeotecdsb09104.cxx tzemt400.cxx)
|
|
set (module_hpp ${libname}.hpp ozwinterface.hpp ozwdump.hpp aeotecss6.hpp aeotecsdg2.hpp aeotecdw2e.hpp aeotecdsb09104.hpp tzemt400.hpp)
|
|
|
|
set (reqlibname "libopenzwave")
|
|
upm_module_init(${OPENZWAVE_LIBRARIES})
|
|
target_include_directories(${libname} PUBLIC ${OPENZWAVE_INCLUDE_DIRS})
|
|
|
|
# openzwave/aes/aes.h has unknown pragmas, disable warning -Wunknown-pragmas
|
|
compiler_flag_supported(CXX is_supported -Wno-unknown-pragmas)
|
|
if (is_supported)
|
|
target_compile_options(${libname} PUBLIC -Wno-unknown-pragmas)
|
|
endif (is_supported)
|
|
endif ()
|