-
- Downloads
ENH: Build examples if a dependent module is available.
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.
Showing
- Examples/BasicFilters/CMakeLists.txt 9 additions, 0 deletionsExamples/BasicFilters/CMakeLists.txt
- Examples/BasicFilters/test/CMakeLists.txt 2 additions, 2 deletionsExamples/BasicFilters/test/CMakeLists.txt
- Examples/CMakeLists.txt 4 additions, 24 deletionsExamples/CMakeLists.txt
- Examples/Classification/CMakeLists.txt 3 additions, 1 deletionExamples/Classification/CMakeLists.txt
- Examples/DisparityMap/CMakeLists.txt 3 additions, 0 deletionsExamples/DisparityMap/CMakeLists.txt
- Examples/DisparityMap/test/CMakeLists.txt 2 additions, 0 deletionsExamples/DisparityMap/test/CMakeLists.txt
- Examples/FeatureExtraction/CMakeLists.txt 11 additions, 11 deletionsExamples/FeatureExtraction/CMakeLists.txt
- Examples/FeatureExtraction/test/CMakeLists.txt 3 additions, 1 deletionExamples/FeatureExtraction/test/CMakeLists.txt
- Examples/IO/CMakeLists.txt 2 additions, 0 deletionsExamples/IO/CMakeLists.txt
- Examples/IO/test/CMakeLists.txt 2 additions, 0 deletionsExamples/IO/test/CMakeLists.txt
- Examples/Learning/CMakeLists.txt 4 additions, 1 deletionExamples/Learning/CMakeLists.txt
- Examples/Learning/test/CMakeLists.txt 13 additions, 12 deletionsExamples/Learning/test/CMakeLists.txt
- Examples/OBIA/CMakeLists.txt 2 additions, 0 deletionsExamples/OBIA/CMakeLists.txt
- Examples/OBIA/test/CMakeLists.txt 2 additions, 0 deletionsExamples/OBIA/test/CMakeLists.txt
- Examples/Patented/CMakeLists.txt 5 additions, 5 deletionsExamples/Patented/CMakeLists.txt
- Examples/Radiometry/CMakeLists.txt 2 additions, 0 deletionsExamples/Radiometry/CMakeLists.txt
- Examples/Radiometry/test/CMakeLists.txt 2 additions, 0 deletionsExamples/Radiometry/test/CMakeLists.txt
- Examples/Segmentation/CMakeLists.txt 2 additions, 0 deletionsExamples/Segmentation/CMakeLists.txt
- Examples/Segmentation/test/CMakeLists.txt 2 additions, 1 deletionExamples/Segmentation/test/CMakeLists.txt
- Examples/Simulation/CMakeLists.txt 4 additions, 3 deletionsExamples/Simulation/CMakeLists.txt
Loading
Please register or sign in to comment