Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
otb
otb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 273
    • Issues 273
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Main Repositories
  • otbotb
  • Issues
  • #1654

Closed
Open
Opened Jun 29, 2018 by Manuel Grizonnet@mgrizonnetDeveloper

Generate CMake config and export targets from remote module build as standalone cmake project

OTB includes a useful extension to ITK remote module mechanisme which allows to build module as a standalone cmake project using the option OTB_BUILD_MODULE_AS_STANDALONE.

The limitation of this mode is that dependency between remote modules will NOT be tracked.

Nevertheless, it will be useful if in case of external build, targets and config cmake files can be automaticcally generated by cmake during the module compilatio nto allow to include external remote module in a third part project using a find_package.

For in source build, remote modules cmake targets and config files are correctly generated and added to the OTB build/install tree where modules are deployed. It should not be so difficult to also generate

For instance the config file can be generated with the configure_package_config_file package. The list of targets (libs and applications from the remote module) can perhaps be

This generation can be added to the OTBModuleExternal.cmake file in OTB source tree or added in the OTB module template used generally by otb user to start a new remote module.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: orfeotoolbox/otb#1654