BUILD: change otbTarget to name with module
Close #2383 (closed) . This is the first step to get otb groups/components in different projects. To get them compile outside OTB, we need the different OTB cmake targets to be grouped by group/component. To make it work with cmake we need:
- One Targets.cmake file per group that declare the cmake targets of each otb lib and application of the group. This one is written by cmake.
- One Config.cmake file per group. This file resolve group dependencies and then read the Target file. This order is important as each target need its dependencies to be declared.
Edited by Tristan Laurent