BUG: error generating qgis descriptors
Below commit uses POST_BUILD and PRE_BUILD to generate a fresh copy of descriptor files for all OTB applications. b963a177
This has broken dashboard due to a dependency issue. https://dash.orfeo-toolbox.org/buildSummary.php?buildid=318175
otbQgisDescriptor doesn't depend on any otb applications and it is TRUE. But it has a run-time dependency to all otb applications when auto-generating all depscriptors. This situation forces us to add a dependency so that POST, PRE building targets works OK. These are only executed if otbQgisDescriptor target is rebuilt hence, it is not run everytime with make or make install.
Revert of the initial commit[2] is to get source tree in to a stage which was reviewe. The first version of post,pre build was pushed directly to release rather than via MR. Current state in release-6.6 will result in broken dashboard even though it revert un-reviewed changes.
[2] 3f7b6d40