with latest version of cmake, C++, C, python3 and last java version. It has
not been possible to reach a successfull compilation with node and cordova.
Most of the modifications are workarouds because the software requires an
heavy revision from a tue dev whom I am not.
Modifications qui seront validées :
modifié : CMakeLists.txt
modifié : cmake/modules/FindNode.cmake
modifié : cmake/modules/FindNpm.cmake
modifié : cmake/modules/OpenCVDetectPython.cmake
nouveau fichier : cmake/modules/OpenCVDetectPython.oldcmake
modifié : include/upm_types.h
modifié : src/CMakeLists.txt
modifié : src/ehr/ehr.cxx
supprimé : src/hp20x/CMakeLists.txt
supprimé : src/hp20x/hp20x.cxx
supprimé : src/hp20x/hp20x.hpp
supprimé : src/hp20x/hp20x.json
Updated UPM cmake to build both python2/3 modules if the necessary
python libs are available.
* Removed BUILDPYTHON3 cmake option in favor of building both
versions
* Added cmake module to find both python2 and python3
* Added macro which can be called from per-sensor cmake files
to add dependency libraries via target_link_libraries as well
as swig_link_libraries (for java, nodejs, and python)
* Python2 is required for python documentation builds
* Cleanup of python usage throughout UPM cmakelists.
* Make find_package for Node required. Removed check for NODE_FOUND
(which should have been NODEJS_FOUND) in favor of REQUIRED.
* The cxx and .py wrapper files get generated in python2/3 (instead
of the same directory). It appears these files are identical,
however since the targets can be built in parallel it's safer to split
them out.
* Updated all cmake dependencies related to building documentation.
* Removed unused classname from cmake files
Signed-off-by: Noel Eck <noel.eck@intel.com>