Commit 3bcf27cf authored by Julien Malik's avatar Julien Malik

STYLE: remove all leading space and tabs from cmake files

parent e84f23c4
......@@ -12,5 +12,5 @@ if(WIN32)
else()
message(STATUS "Could not find OSGeo4W")
endif()
endif()
......@@ -95,11 +95,11 @@ else()
add_subdirectory(OBIA)
add_subdirectory(Simulation)
add_subdirectory(Hyperspectral)
if(BUILD_APPLICATIONS)
if(BUILD_APPLICATIONS)
add_subdirectory(Application)
endif()
endif()
if(OTB_USE_VISU_GUI)
add_subdirectory(Visualization)
endif()
......
......@@ -29,7 +29,7 @@ OTB_TEST_APPLICATION(NAME apTvCdbComputePolylineFeatureFromImage_LI_NOBUIL_gt
set_tests_properties(apTvCdbComputePolylineFeatureFromImage_LI_ROADSA_gt PROPERTIES DEPENDS apTvCdbComputePolylineFeatureFromImage_LI_NONDVI_gt)
set_tests_properties(apTvCdbComputePolylineFeatureFromImage_LI_NOBUIL_gt PROPERTIES DEPENDS apTvCdbComputePolylineFeatureFromImage_LI_ROADSA_gt)
OTB_TEST_APPLICATION(NAME apTvCdbComputePolylineFeatureFromImage_LI_NONDVI_wr
APP ComputePolylineFeatureFromImage
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
......@@ -130,7 +130,7 @@ OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationGroundTruth_LI
VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp
${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp)
OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationWrongRoads_LI
APP VectorDataDSValidation
......@@ -142,7 +142,7 @@ OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationWrongRoads_LI
VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp
${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp)
OTB_TEST_APPLICATION(NAME apTvCdbVectorDataDSValidationRoadExtractionApplication_LI
APP VectorDataDSValidation
......@@ -151,7 +151,7 @@ OTB_TEST_APPLICATION(NAME apTvCdbVectorDataDSValidationRoadExtractionApplication
-plasup "NONDVI" "ROADSA" "NOBUIL"
-descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
-out ${TEMP}/apTvCdbVectorDataDSValidationOutpout_LI_RoadExtractionApplication.shp)
......@@ -57,7 +57,7 @@ OTB_TEST_APPLICATION(NAME apTvFEHaralickTextureExtraction
VALID --compare-image ${EPSILON_15}
${BASELINE}/apTvFEHaralickTextureExtraction.tif
${TEMP}/apTvFEHaralickTextureExtraction.tif)
OTB_TEST_APPLICATION(NAME apTvFESFSTextureExtraction
APP SFSTextureExtraction
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
......@@ -66,7 +66,7 @@ OTB_TEST_APPLICATION(NAME apTvFESFSTextureExtraction
VALID --compare-image ${NOTOL}
${BASELINE}/apTvFESFSTextureExtraction.tif
${TEMP}/apTvFESFSTextureExtraction.tif)
OTB_TEST_APPLICATION(NAME apTvFEBinaryMorphologicalOperation
APP BinaryMorphologicalOperation
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_PAN_Mask.tif
......@@ -79,7 +79,7 @@ OTB_TEST_APPLICATION(NAME apTvFEBinaryMorphologicalOperation
-out ${TEMP}/apTvFEBinaryMorphologicalOperation.tif
VALID --compare-image ${NOTOL}
${BASELINE}/apTvFEBinaryMorphologicalOperation.tif
${TEMP}/apTvFEBinaryMorphologicalOperation.tif)
${TEMP}/apTvFEBinaryMorphologicalOperation.tif)
OTB_TEST_APPLICATION(NAME apTvFEGrayScaleMorphologicalOperation
APP GrayScaleMorphologicalOperation
......@@ -91,8 +91,8 @@ OTB_TEST_APPLICATION(NAME apTvFEGrayScaleMorphologicalOperation
-out ${TEMP}/apTvFEGrayScaleMorphologicalOperation.tif
VALID --compare-image ${NOTOL}
${BASELINE}/apTvFEGrayScaleMorphologicalOperation.tif
${TEMP}/apTvFEGrayScaleMorphologicalOperation.tif)
${TEMP}/apTvFEGrayScaleMorphologicalOperation.tif)
OTB_TEST_APPLICATION(NAME apTvFELocalStatisticExtraction
APP LocalStatisticExtraction
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
......@@ -101,8 +101,8 @@ OTB_TEST_APPLICATION(NAME apTvFELocalStatisticExtraction
-out ${TEMP}/apTvFELocalStatisticExtraction.tif
VALID --compare-image ${NOTOL}
${BASELINE}/feTvRadiometricMomentsImageFilter.tif
${TEMP}/apTvFELocalStatisticExtraction.tif)
${TEMP}/apTvFELocalStatisticExtraction.tif)
OTB_TEST_APPLICATION(NAME apTvFEEdgeExtraction
APP EdgeExtraction
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
......
......@@ -96,4 +96,4 @@ OTB_TEST_APPLICATION(NAME apTvRsRasterizationShadowsSHP
VALID --compare-image ${NOTOL}
${BASELINE}/apTvRsRasterizationShadowsSHP.tif
${TEMP}/apTvRsRasterizationShadowsSHP.tif)
......@@ -41,7 +41,7 @@ OTB_TEST_APPLICATION(NAME apTvCcConnectedComponentSegmentatioNoMask
-obia "SHAPE_Elongation>8"
VALID --compare-ogr ${NOTOL}
${BASELINE_FILES}/apTvCcConnectedComponentSegmentationNoMask.shp
${TEMP}/apTvCcConnectedComponentSegmentationNoMask.shp)
${TEMP}/apTvCcConnectedComponentSegmentationNoMask.shp)
#--- HooverCompareSegmentation ---#
OTB_TEST_APPLICATION(NAME apTvSeHooverCompareSegmentationTest
......
......@@ -533,7 +533,7 @@ add_test(dmTuMulti3DMapToDEMFilterMeanMultiThreadMultiStream ${DISPARITYMAP_TEST
2
8
4)
add_test(dmTuMulti3DMapToDEMFilterAccMultiThreadMultiStream ${DISPARITYMAP_TESTS4}
otbMulti3DMapToDEMFilter
${BASELINE}/dmTvMultiDisparityMapTo3DFilterOutput.tif
......@@ -544,7 +544,7 @@ add_test(dmTuMulti3DMapToDEMFilterAccMultiThreadMultiStream ${DISPARITYMAP_TESTS
2.5
3
8
4
4
)
endif()
......
......@@ -9,7 +9,7 @@ set(LEARNING_TESTS4 ${CXX_TEST_PATH}/otbLearningTests4)
set(LEARNING_TESTS5 ${CXX_TEST_PATH}/otbLearningTests5)
if(OTB_USE_OPENCV)
set(LEARNING_TESTS6 ${CXX_TEST_PATH}/otbLearningTests6)
endif()
endif()
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ otbLearningTESTS1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......@@ -778,7 +778,7 @@ if(OTB_USE_OPENCV)
add_test(leTuImageClassificationFilterNew ${LEARNING_TESTS6}
otbImageClassificationFilterNew)
add_test(leTvImageClassificationFilterLibSVM ${LEARNING_TESTS6}
--compare-image ${NOTOL}
${BASELINE}/leSVMImageClassificationFilterOutput.tif
......@@ -788,7 +788,7 @@ if(OTB_USE_OPENCV)
${INPUTDATA}/svm_model_image
${TEMP}/leImageClassificationFilterLibSVMOutput.tif
)
add_test(leTvImageClassificationFilterSVM ${LEARNING_TESTS6}
--compare-image ${NOTOL}
${BASELINE}/leImageClassificationFilterSVMOutput.tif
......@@ -798,56 +798,56 @@ if(OTB_USE_OPENCV)
${INPUTDATA}/ROI_QB_MUL_4_svmModel.txt
${TEMP}/leImageClassificationFilterSVMOutput.tif
)
add_test(leTuLibSVMMachineLearningModelCanRead ${LEARNING_TESTS6}
otbLibSVMMachineLearningModelCanRead
${TEMP}/libsvm_model.txt
)
set_tests_properties(leTuLibSVMMachineLearningModelCanRead
PROPERTIES DEPENDS leTvLibSVMMachineLearningModel)
add_test(leTuSVMMachineLearningModelCanRead ${LEARNING_TESTS6}
otbSVMMachineLearningModelCanRead
${TEMP}/svm_model.txt
)
set_tests_properties(leTuSVMMachineLearningModelCanRead
PROPERTIES DEPENDS leTvSVMMachineLearningModel)
add_test(leTuRandomForestsMachineLearningModelCanRead ${LEARNING_TESTS6}
otbRandomForestsMachineLearningModelCanRead
${TEMP}/rf_model.txt
)
set_tests_properties(leTuRandomForestsMachineLearningModelCanRead
PROPERTIES DEPENDS leTvRandomForestsMachineLearningModel)
add_test(leTuBoostMachineLearningModelCanRead ${LEARNING_TESTS6}
otbBoostMachineLearningModelCanRead
${TEMP}/boost_model.txt
)
set_tests_properties(leTuBoostMachineLearningModelCanRead
PROPERTIES DEPENDS leTvBoostMachineLearningModel)
add_test(leTuANNMachineLearningModelCanRead ${LEARNING_TESTS6}
otbNeuralNetworkMachineLearningModelCanRead
${TEMP}/ann_model.txt
)
set_tests_properties(leTuANNMachineLearningModelCanRead
PROPERTIES DEPENDS leTvANNMachineLearningModel)
add_test(leTuNormalBayesMachineLearningModelCanRead ${LEARNING_TESTS6}
otbNormalBayesMachineLearningModelCanRead
${TEMP}/normalbayes_model.txt
)
set_tests_properties(leTuNormalBayesMachineLearningModelCanRead
PROPERTIES DEPENDS leTvNormalBayesMachineLearningModel)
add_test(leTuDecisionTreeMachineLearningModelCanRead ${LEARNING_TESTS6}
otbDecisionTreeMachineLearningModelCanRead
${TEMP}/decisiontree_model.txt
)
set_tests_properties(leTuDecisionTreeMachineLearningModelCanRead
PROPERTIES DEPENDS leTvDecisionTreeMachineLearningModel)
add_test(leTuGradientBoostedTreeMachineLearningModelCanRead ${LEARNING_TESTS6}
otbGradientBoostedTreeMachineLearningModelCanRead
${TEMP}/gbt_model.txt
......@@ -861,7 +861,7 @@ if(OTB_USE_OPENCV)
)
set_tests_properties(leTuKNNMachineLearningModelCanRead
PROPERTIES DEPENDS leTvKNearestNeighborsMachineLearningModel)
endif()
# Testing srcs
......
......@@ -242,7 +242,7 @@ else()
set(HAVE_PNG_H 1)
set(FLTK_PNG_LIBRARIES fltk_png)
set(FLTK_LIBRARIES "${FLTK_LIBRARIES};fltk_png")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/png")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/png")
endif()
else()
message(FATAL_ERROR "Cannot find PNG library.")
......
......@@ -53,7 +53,7 @@ macro(OPJ_TEST_LARGE_FILES VARIABLE)
set(_LARGE_FILES 1)
endif()
endif()
if(NOT FILE64_OK)
# Test with _LARGEFILE_SOURCE
try_compile(FILE64_OK "${PROJECT_BINARY_DIR}"
......@@ -94,7 +94,7 @@ macro(OPJ_TEST_LARGE_FILES VARIABLE)
try_compile(FSEEKO_COMPILE_OK
"${PROJECT_BINARY_DIR}"
"${PROJECT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/TestLargeFiles.c")
if(FSEEKO_COMPILE_OK)
message(STATUS "Checking for fseeko/ftello - present")
endif()
......
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