Skip to content
Snippets Groups Projects
Forked from Main Repositories / otb
Source project has a limited visibility.
  • Rashad Kanavath's avatar
    9b896a88
    ENH: Build examples if a dependent module is available. · 9b896a88
    Rashad Kanavath authored
    Earlier one needs all otb modules to build examples. This single commit
    activate an example and its related test if and only if all of its
    dependent module is activated. The check for a module is done using
    <Module>_LOADED cmake variable. With this change, activating
    BUILD_EXAMPLES=ON works flawlessly irrespective of your build configuration.
    9b896a88
    History
    ENH: Build examples if a dependent module is available.
    Rashad Kanavath authored
    Earlier one needs all otb modules to build examples. This single commit
    activate an example and its related test if and only if all of its
    dependent module is activated. The check for a module is done using
    <Module>_LOADED cmake variable. With this change, activating
    BUILD_EXAMPLES=ON works flawlessly irrespective of your build configuration.