Commit caaf43c7 authored by Emmanuel Christophe's avatar Emmanuel Christophe

DOC: moving Examples/Data to OTB-Data repository (CMakeLists.txt modification)

parent 82bc3e2a
......@@ -15,7 +15,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/BasicFilters)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbBasicFiltersExamplesTests)
......@@ -43,7 +43,7 @@ ADD_TEST(DEMToRainbowExampleTest ${EXE_TESTS}
${TEMP}/DEMToRainbowImageGenerator.png
DEMToRainbowExampleTest
${TEMP}/DEMToRainbowImageGenerator.png
6.5 45.5 500 500 0.002 -0.002 ${OTB_SOURCE_DIR}/Examples/Data/DEM_srtm
6.5 45.5 500 500 0.002 -0.002 ${OTB_DATA_ROOT}/Examples/DEM_srtm
)
ADD_EXECUTABLE(otbBasicFiltersExamplesTests otbBasicFiltersExamplesTests.cxx)
......
......@@ -50,7 +50,7 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX)
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/ChangeDetection)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbChangeDetectionExamplesTests)
......
......@@ -120,7 +120,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Classification)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbClassificationExamplesTests)
......
......@@ -45,7 +45,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/DataRepresentation/Image)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbImageExamplesTests)
......
......@@ -14,7 +14,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/DisparityMap)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbDisparityMapExamplesTests)
......
......@@ -78,7 +78,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/FeatureExtraction)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS1 ${CXX_TEST_PATH}/otbFeatureExtractionExamplesTests1)
......
......@@ -252,7 +252,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Filtering)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbFilteringExamplesTests)
......
......@@ -15,7 +15,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Fusion)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbFusionExamplesTests)
......
......@@ -114,7 +114,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/IO)
SET(DATA ${OTB_DATA_ROOT}/Input)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
......
......@@ -57,7 +57,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Iterators)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbIteratorsExamplesTests)
......
......@@ -50,7 +50,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Learning)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbLearningExamplesTests)
......@@ -68,7 +68,7 @@ ADD_TEST(SVMImageClassificationExampleTest ${EXE_TESTS}
SVMImageClassificationExampleTest
${INPUTDATA}/ROI_QB_MUL_1.png
${TEMP}/ROI_QB_MUL_1_SVN_CLASS.png
${OTB_SOURCE_DIR}/Examples/Data/svm_image_model.svm
${OTB_DATA_ROOT}/Examples/svm_image_model.svm
)
# ------- SVMImageEstimatorClassificationMultiExampleTest----------
......
......@@ -19,7 +19,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Markov)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbMarkovExamplesTests)
......
......@@ -20,7 +20,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/MultiScale)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbMultiScaleExamplesTests)
......
......@@ -14,7 +14,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Patented)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbPatentedExamplesTests)
......
......@@ -27,7 +27,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Projections)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
#Remote sensing images (large images )
IF(OTB_DATA_USE_LARGEINPUT)
SET(INPUTLARGEDATA ${OTB_DATA_LARGEINPUT_ROOT} )
......
......@@ -14,7 +14,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Radiometry)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbRadiometryExamplesTests)
......
......@@ -501,7 +501,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Registration)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbRegistrationExamplesTests)
......
......@@ -9,7 +9,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/SARPolarimetry)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(SARPOLARIMETRY_TESTS1 ${CXX_TEST_PATH}/otbSARPolarimetryExamplesTests)
......
......@@ -128,7 +128,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Segmentation)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbSegmentationExamplesTests)
......
......@@ -31,7 +31,7 @@ IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Tutorials)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(INPUTDATA ${OTB_DATA_ROOT}/Examples)
#Remote sensing images (large images )
IF(OTB_DATA_USE_LARGEINPUT)
SET(INPUTLARGEDATA ${OTB_DATA_LARGEINPUT_ROOT} )
......
......@@ -11,7 +11,7 @@ IF(OTB_DATA_USE_LARGEINPUT)
ENDIF(OTB_DATA_USE_LARGEINPUT)
SET(TEMP ${OTBTesting_BINARY_DIR}/Temporary)
SET(EXAMPLES_DATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(EXAMPLES_DATA ${OTB_DATA_ROOT}/Examples)
#Tolerance sur diff pixel image
SET(TOL 0.0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment