Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 207
    • Issues 207
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Merge requests
  • !226

ENH: Add option to allow to always trigger otb build step from superbuild tree

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Manuel Grizonnet requested to merge superbuild_always_build_otb_option into develop Sep 07, 2018
  • Overview 10
  • Commits 3
  • Pipelines 0
  • Changes 3

Summary

I've seen lot of new OTB developers who use the superbuild to create their environment of development for OTB. Indeed Superbuild is quite useful as it allows to build all the dependencies and as a last step build OTB (with potentially modifications from the developer).

Superbuild is pretty handy but on the other hand steps behind the main 'make' command are a bit hidden behind the cmake magic as it runs external_project macro for each sub-projects which can download/patch/configure/build/install...

One problem from some new developers is the fact that when they modify OTB sources and run make again from superbuild directory nothing happen and modify files in OTB source tree are not recompile by the superbuild.

Rationale

This MR "just" add a convenient "BUILD_ALWAYS" option at the superbuild root which allows to always trigger OTB compilation at the superbuild level.

It should allow developers to compile their modifications without having to dive into superbuild build tree (OTB/build) and control the OTB build process from the root directory.

The BUILD_ALWAYS option is available since at least cmake 3.2 and cmake min version for superbuild is 3.3.

Implementation Details

Additional notes

BUILD_ALWAYS is ON by default in the MR. Please reviewer let me know if we should change this.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


***Check before merging:*** - All discussions are resolved - At least 2 👍 votes from core developers, no 👎 vote. - The feature branch is (reasonably) up-to-date with the base branch - Dashboard is green - Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
Edited Sep 10, 2018 by Manuel Grizonnet
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: superbuild_always_build_otb_option