cannot find version number of otb without knowing major and minor version number
Description
Version information of OTB is available in share/doc/OTB-X.Y/VERSION
sample one given below
OTB Version: 6.5.0
Build Date: 2018-04-09T13:24:41
otb.git repository info:
git log -1 --oneline = [ea9bc580cd ENH: remove module activation options]
git symbolic-ref -q HEAD = 1554-add-wrapper-qgis-to-generate-qgis-descriptors-for-processing-plugin
This provides a lot of useful information in many cases. Problem is: to read this file, I need to know version number of OTB!. At-least major and minor
from install directory, i cannot find version number without major.minor. Is there a way to know major.minor from some file. I guess the idea of having VERSION is to store some details in a plain text rather than starting otbApplicationLauncher, or cmake script code etc.. for now, I have to parse all directories in share/doc/OTB-* and find the highest one which may or many not correspond to exe (otbApplicationLauncher*) and libraries used. Is it really required to use version number in /share/doc/OTB. binaries are lib are written to /bin and /lib. All libs are versioned but exes aren't. so only one version of otb exe can exists in . Even tough, your may contain multiple version of same libOTB*
Steps to reproduce
look into install-prefix/share/doc/
Configuration information
OS, OTB version or tag, information related to build (binaries, superbuild, system libs ...)