Skip to content

BUILD: change otbTarget to name with module

Tristan Laurent requested to merge one_cmake_target_per_module into develop

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

Merge request reports

Loading