From 00e97519cc62c597c2a7621cc4eb9670eb460742 Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Mon, 25 Aug 2008 14:11:37 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20cmakelist=20par=20rapport=20au=20Testin?= =?UTF-8?q?g=20:=20OPTION(BUILD=5FTESTING=20..)=20est=20supprim=C3=A9=20du?= =?UTF-8?q?=20CMakeListst=20de=20l'OTB=20(doublon=20avec=20celui=20pr?= =?UTF-8?q?=C3=A9sent=20dans=20Dart.cmake=20inclue=20dans=20cmake=20root).?= =?UTF-8?q?=20Suppression=20de=20l'option=20BUILDING=5FEXAMPLES=5FTESTING.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 9 +++------ Examples/BasicFilters/CMakeLists.txt | 4 ++-- Examples/CMakeLists.txt | 4 ++-- Examples/ChangeDetection/CMakeLists.txt | 4 ++-- Examples/Classification/CMakeLists.txt | 4 ++-- Examples/DataRepresentation/Image/CMakeLists.txt | 4 ++-- Examples/DisparityMap/CMakeLists.txt | 4 ++-- Examples/FeatureExtraction/CMakeLists.txt | 4 ++-- Examples/Filtering/CMakeLists.txt | 4 ++-- Examples/Fusion/CMakeLists.txt | 4 ++-- Examples/IO/CMakeLists.txt | 4 ++-- Examples/Iterators/CMakeLists.txt | 4 ++-- Examples/Learning/CMakeLists.txt | 4 ++-- Examples/Markov/CMakeLists.txt | 4 ++-- Examples/MultiScale/CMakeLists.txt | 4 ++-- Examples/Patented/CMakeLists.txt | 4 ++-- Examples/Projections/CMakeLists.txt | 4 ++-- Examples/Radiometry/CMakeLists.txt | 4 ++-- Examples/Registration/CMakeLists.txt | 4 ++-- Examples/Segmentation/CMakeLists.txt | 4 ++-- Examples/Tutorials/CMakeLists.txt | 4 ++-- 21 files changed, 43 insertions(+), 46 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3315d7aae0..1377837248 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ SET(OTB_VERSION_PATCH "0") SET(OTB_VERSION_STRING "${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}.${OTB_VERSION_PATCH}") -OPTION(BUILD_TESTING "Build testing." OFF) +#OPTION(BUILD_TESTING "Build testing." OFF) #----------------------------------------------------------------------------- @@ -362,11 +362,11 @@ INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityCXX.cmake) # MESSAGE(FATAL_ERROR ...) commands are invoked. INCLUDE(${CMAKE_ROOT}/Modules/Dart.cmake) MARK_AS_ADVANCED(TCL_TCLSH DART_ROOT) -IF(BUILD_TESTING OR BUILD_EXAMPLES_TESTING) +IF(BUILD_TESTING) ENABLE_TESTING() SET(BUILDNAME "${BUILDNAME}" CACHE STRING "Name of build on the dashboard") MARK_AS_ADVANCED(BUILDNAME) -ENDIF(BUILD_TESTING OR BUILD_EXAMPLES_TESTING) +ENDIF(BUILD_TESTING) #----------------------------------------------------------------------------- @@ -516,10 +516,7 @@ SET(OTB_ALLS_UTILITIES_DEPENDENT_LIBRARIES "${OTB_IO_UTILITIES_DEPENDENT_LIBRARI #----------------------------------------------------------------------------- - - OPTION(BUILD_EXAMPLES "Build the Examples directory." OFF) -OPTION(BUILD_EXAMPLES_TESTING "Build the Examples testing." OFF) #----------------------------------------------------------------------------- diff --git a/Examples/BasicFilters/CMakeLists.txt b/Examples/BasicFilters/CMakeLists.txt index 00d339563c..f106b47050 100644 --- a/Examples/BasicFilters/CMakeLists.txt +++ b/Examples/BasicFilters/CMakeLists.txt @@ -11,7 +11,7 @@ TARGET_LINK_LIBRARIES(DEMToRainbowExample OTBCommon OTBIO ITKCommon ITKIO ITKNum ITKStatistics itkvnl_inst itkvnl_algo itkvnl itkvcl itksys ITKNrrdIO itkpng itktiff itkjpeg8 itkjpeg12 itkjpeg16 ITKMetaIO itkzlib ITKDICOMParser ITKEXPAT otbossim ) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/BasicFilters) @@ -49,4 +49,4 @@ ADD_TEST(DEMToRainbowExampleTest ${EXE_TESTS} ADD_EXECUTABLE(otbBasicFiltersExamplesTests otbBasicFiltersExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbBasicFiltersExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/CMakeLists.txt b/Examples/CMakeLists.txt index 40f89c7f6a..545a14d606 100644 --- a/Examples/CMakeLists.txt +++ b/Examples/CMakeLists.txt @@ -54,9 +54,9 @@ ELSE(OTB_BINARY_DIR) INCLUDE(${CMAKE_ROOT}/Modules/Dart.cmake) SET(PROJECT_SOURCE_DIR "${OTBExamples_SOURCE_DIR}") MARK_AS_ADVANCED(TCL_TCLSH) - IF(BUILD_EXAMPLES_TESTING) + IF(BUILD_TESTING) ENABLE_TESTING() - ENDIF(BUILD_EXAMPLES_TESTING) + ENDIF(BUILD_TESTING) # Find OTB and load its settings. FIND_PACKAGE(OTB) diff --git a/Examples/ChangeDetection/CMakeLists.txt b/Examples/ChangeDetection/CMakeLists.txt index 55a75d4b89..5efd5323ff 100644 --- a/Examples/ChangeDetection/CMakeLists.txt +++ b/Examples/ChangeDetection/CMakeLists.txt @@ -39,7 +39,7 @@ ADD_EXECUTABLE(KullbackLeiblerSupervizedDistanceChDet KullbackLeiblerSupervizedD TARGET_LINK_LIBRARIES(KullbackLeiblerSupervizedDistanceChDet OTBIO OTBCommon gdal ITKCommon ITKIO ITKStatistics) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) IF(CMAKE_COMPILER_IS_GNUCXX) SET_SOURCE_FILES_PROPERTIES( @@ -126,5 +126,5 @@ ADD_TEST(KullbackLeiblerProfileChDetTest ${EXE_TESTS} ADD_EXECUTABLE(otbChangeDetectionExamplesTests otbChangeDetectionExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbChangeDetectionExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Classification/CMakeLists.txt b/Examples/Classification/CMakeLists.txt index 855c0eb1a7..853420f38c 100644 --- a/Examples/Classification/CMakeLists.txt +++ b/Examples/Classification/CMakeLists.txt @@ -115,7 +115,7 @@ TARGET_LINK_LIBRARIES(SVMImageClassificationExample2 OTBCommon OTBLearning ITKCo -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Classification) @@ -157,4 +157,4 @@ ADD_TEST(ScalarImageKmeansClassifierTest ${EXE_TESTS} ADD_EXECUTABLE(otbClassificationExamplesTests otbClassificationExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbClassificationExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/DataRepresentation/Image/CMakeLists.txt b/Examples/DataRepresentation/Image/CMakeLists.txt index 1c7b83b549..698a1b79ea 100644 --- a/Examples/DataRepresentation/Image/CMakeLists.txt +++ b/Examples/DataRepresentation/Image/CMakeLists.txt @@ -41,7 +41,7 @@ ADD_EXECUTABLE(ImageListExample ImageListExample.cxx ) TARGET_LINK_LIBRARIES(ImageListExample OTBCommon ITKCommon OTBIO ITKIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/DataRepresentation/Image) @@ -101,4 +101,4 @@ ADD_TEST(Image6Test ${EXE_TESTS} ADD_EXECUTABLE(otbImageExamplesTests otbImageExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbImageExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/DisparityMap/CMakeLists.txt b/Examples/DisparityMap/CMakeLists.txt index 769a06bf4e..895199fb1c 100644 --- a/Examples/DisparityMap/CMakeLists.txt +++ b/Examples/DisparityMap/CMakeLists.txt @@ -5,7 +5,7 @@ ADD_EXECUTABLE(SimpleDisparityMapEstimationExample SimpleDisparityMapEstimationE TARGET_LINK_LIBRARIES(SimpleDisparityMapEstimationExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/DisparityMap) @@ -37,4 +37,4 @@ ADD_TEST(SimpleDisparityMapEstimationExampleTest ${EXE_TESTS} ADD_EXECUTABLE(otbDisparityMapExamplesTests otbDisparityMapExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbDisparityMapExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/FeatureExtraction/CMakeLists.txt b/Examples/FeatureExtraction/CMakeLists.txt index 307c70b4ef..be2d8a94e5 100644 --- a/Examples/FeatureExtraction/CMakeLists.txt +++ b/Examples/FeatureExtraction/CMakeLists.txt @@ -69,7 +69,7 @@ ADD_EXECUTABLE(SIFTExample SIFTExample.cxx) TARGET_LINK_LIBRARIES(SIFTExample OTBIO OTBCommon OTBFeatureExtraction ITKCommon ITKBasicFilters) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/FeatureExtraction) @@ -286,4 +286,4 @@ ADD_EXECUTABLE(otbFeatureExtractionExamplesTests2 otbFeatureExtractionExamplesTe TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests2 gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Filtering/CMakeLists.txt b/Examples/Filtering/CMakeLists.txt index 39e418bb51..e2017847b5 100644 --- a/Examples/Filtering/CMakeLists.txt +++ b/Examples/Filtering/CMakeLists.txt @@ -247,7 +247,7 @@ IF(NOT BORLAND) ENDIF(NOT BORLAND) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Filtering) @@ -520,4 +520,4 @@ ADD_TEST(RationalQuotientResampleImageFilterTest ${EXE_TESTS} ADD_EXECUTABLE(otbFilteringExamplesTests otbFilteringExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbFilteringExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Fusion/CMakeLists.txt b/Examples/Fusion/CMakeLists.txt index 3ae9051070..9f51f56f7d 100755 --- a/Examples/Fusion/CMakeLists.txt +++ b/Examples/Fusion/CMakeLists.txt @@ -11,7 +11,7 @@ ADD_EXECUTABLE(PanSharpeningExample PanSharpeningExample.cxx ) TARGET_LINK_LIBRARIES(PanSharpeningExample OTBFusion OTBCommon OTBIO ITKNumerics ITKIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Fusion) @@ -55,4 +55,4 @@ ADD_TEST(PanSharpeningExampleTest ${EXE_TESTS} ADD_EXECUTABLE(otbFusionExamplesTests otbFusionExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbFusionExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKNumerics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/IO/CMakeLists.txt b/Examples/IO/CMakeLists.txt index a2774999ce..8b551d6e74 100644 --- a/Examples/IO/CMakeLists.txt +++ b/Examples/IO/CMakeLists.txt @@ -97,7 +97,7 @@ TARGET_LINK_LIBRARIES(DEMToImageGenerator OTBProjections OTBIO OTBCommon ITKComm #ADD_EXECUTABLE(TransformReadWrite TransformReadWrite.cxx ) #TARGET_LINK_LIBRARIES(TransformReadWrite ITKCommon ITKIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/IO) @@ -144,4 +144,4 @@ ADD_TEST(DEMToImageGeneratorTest ${EXE_TESTS} ADD_EXECUTABLE(otbIOExamplesTests otbIOExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbIOExamplesTests otbossim OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBProjections gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon dxf otbossim) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Iterators/CMakeLists.txt b/Examples/Iterators/CMakeLists.txt index 4cd7a7193d..0877fdb6f9 100644 --- a/Examples/Iterators/CMakeLists.txt +++ b/Examples/Iterators/CMakeLists.txt @@ -53,7 +53,7 @@ TARGET_LINK_LIBRARIES(IteratorsExamples OTBIO OTBCommon ITKIO ITKBasicFilters ) ENDIF(NOT BORLAND) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Iterators) @@ -196,4 +196,4 @@ ADD_TEST(ShapedNeighborhoodIterators2Test ${EXE_TESTS} ADD_EXECUTABLE(otbIteratorsExamplesTests otbIteratorsExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbIteratorsExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Learning/CMakeLists.txt b/Examples/Learning/CMakeLists.txt index 661b94c998..33cf6bb9a3 100644 --- a/Examples/Learning/CMakeLists.txt +++ b/Examples/Learning/CMakeLists.txt @@ -46,7 +46,7 @@ TARGET_LINK_LIBRARIES(SVMGenericKernelImageClassificationExample otbsvm OTBCommo -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Learning) @@ -176,4 +176,4 @@ ADD_TEST(SVMGenericKernelImageClassificationExampleTest ${EXE_TESTS} ADD_EXECUTABLE(otbLearningExamplesTests otbLearningExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbLearningExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Markov/CMakeLists.txt b/Examples/Markov/CMakeLists.txt index b5b2ab9189..0f42585b6c 100755 --- a/Examples/Markov/CMakeLists.txt +++ b/Examples/Markov/CMakeLists.txt @@ -15,7 +15,7 @@ TARGET_LINK_LIBRARIES(MarkovRestaurationExample OTBMarkov OTBCommon OTBIO ITKNum ADD_EXECUTABLE(MarkovRegularizationExample MarkovRegularizationExample.cxx ) TARGET_LINK_LIBRARIES(MarkovRegularizationExample OTBMarkov OTBCommon OTBIO ITKNumerics ITKIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Markov) @@ -86,5 +86,5 @@ ADD_EXECUTABLE(otbMarkovExamplesTests otbMarkovExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbMarkovExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKNumerics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBMarkov) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/MultiScale/CMakeLists.txt b/Examples/MultiScale/CMakeLists.txt index 8e8503ca24..51828ceb1e 100644 --- a/Examples/MultiScale/CMakeLists.txt +++ b/Examples/MultiScale/CMakeLists.txt @@ -16,7 +16,7 @@ TARGET_LINK_LIBRARIES(MorphologicalPyramidSegmentationExample OTBCommon OTBIO OT -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/MultiScale) @@ -96,4 +96,4 @@ ADD_TEST(MorphologicalPyramidSegmenterExampleTest ${EXE_TESTS} ADD_EXECUTABLE(otbMultiScaleExamplesTests otbMultiScaleExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbMultiScaleExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Patented/CMakeLists.txt b/Examples/Patented/CMakeLists.txt index 487a2e7866..dffd34ae07 100644 --- a/Examples/Patented/CMakeLists.txt +++ b/Examples/Patented/CMakeLists.txt @@ -10,7 +10,7 @@ TARGET_LINK_LIBRARIES(FuzzyConnectednessImageFilter OTBIO OTBCommon ITKNumerics -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Patented) @@ -38,4 +38,4 @@ ADD_TEST(HybridSegmentationFuzzyVoronoiTest ${EXE_TESTS} ADD_EXECUTABLE(otbPatentedExamplesTests otbPatentedExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbPatentedExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Projections/CMakeLists.txt b/Examples/Projections/CMakeLists.txt index c59e8a3878..7bac613b0b 100644 --- a/Examples/Projections/CMakeLists.txt +++ b/Examples/Projections/CMakeLists.txt @@ -19,7 +19,7 @@ ADD_EXECUTABLE(OrthoRectificationExample OrthoRectificationExample.cxx ) TARGET_LINK_LIBRARIES(OrthoRectificationExample OTBProjections OTBCommon OTBIO ITKCommon ITKIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Projections) @@ -70,4 +70,4 @@ ADD_TEST(OrthoRectificationExampleXSTest ${EXE_TESTS} ADD_EXECUTABLE(otbProjectionsExamplesTests otbProjectionsExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbProjectionsExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKNumerics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion OTBProjections) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Radiometry/CMakeLists.txt b/Examples/Radiometry/CMakeLists.txt index 8d2a6d6464..4ed8cad1e0 100755 --- a/Examples/Radiometry/CMakeLists.txt +++ b/Examples/Radiometry/CMakeLists.txt @@ -10,7 +10,7 @@ TARGET_LINK_LIBRARIES(NDVIRAndNIRVegetationIndexImageFilter OTBRadiometry OTBCom ADD_EXECUTABLE(AtmosphericCorrectionSequencement AtmosphericCorrectionSequencement.cxx ) TARGET_LINK_LIBRARIES(AtmosphericCorrectionSequencement OTBRadiometry OTBCommon OTBIO ITKNumerics ITKIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Radiometry) @@ -94,4 +94,4 @@ ADD_TEST(AtmosphericCorrectionSequencementTest ${EXE_TESTS} ADD_EXECUTABLE(otbRadiometryExamplesTests otbRadiometryExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbRadiometryExamplesTests OTBBasicFilters OTBCommon OTBDisparityMap OTBRadiometry OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion gdal ITKIO ITKAlgorithms ITKStatistics ITKNumerics ITKCommon ) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Registration/CMakeLists.txt b/Examples/Registration/CMakeLists.txt index a4a9dd2048..cec7922969 100644 --- a/Examples/Registration/CMakeLists.txt +++ b/Examples/Registration/CMakeLists.txt @@ -497,7 +497,7 @@ TARGET_LINK_LIBRARIES(ImageRegistration5 OTBCommon OTBIO ITKNumerics ITKIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Registration) @@ -559,4 +559,4 @@ ADD_TEST(ImageRegistration5Cas2ExampleTest ${EXE_TESTS} ADD_EXECUTABLE(otbRegistrationExamplesTests otbRegistrationExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbRegistrationExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKNumerics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Segmentation/CMakeLists.txt b/Examples/Segmentation/CMakeLists.txt index 23219e465b..df054f4278 100644 --- a/Examples/Segmentation/CMakeLists.txt +++ b/Examples/Segmentation/CMakeLists.txt @@ -124,7 +124,7 @@ TARGET_LINK_LIBRARIES(WatershedSegmentation OTBCommon OTBIO ITKAlgorithms ITKNum -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Segmentation) @@ -374,4 +374,4 @@ ADD_TEST(LabelizeNeighborhoodConnectedImageFilterTest ${EXE_TESTS} ADD_EXECUTABLE(otbSegmentationExamplesTests otbSegmentationExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbSegmentationExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) diff --git a/Examples/Tutorials/CMakeLists.txt b/Examples/Tutorials/CMakeLists.txt index e481e7ee28..b7bb5b12ed 100644 --- a/Examples/Tutorials/CMakeLists.txt +++ b/Examples/Tutorials/CMakeLists.txt @@ -27,7 +27,7 @@ ENDIF(OTB_USE_VISU_GUI) ADD_EXECUTABLE(OrthoFusion OrthoFusion.cxx ) TARGET_LINK_LIBRARIES(OrthoFusion OTBFusion OTBProjections OTBCommon OTBIO) -IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Tutorials) @@ -108,4 +108,4 @@ ADD_TEST( TutorialsOrthoFusionTest ${EXE_TESTS} ADD_EXECUTABLE(otbTutorialsExamplesTests otbTutorialsExamplesTests.cxx) TARGET_LINK_LIBRARIES(otbTutorialsExamplesTests gdal ITKIO ITKAlgorithms ITKStatistics ITKNumerics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion) -ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_EXAMPLES_TESTING ) +ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) -- GitLab