Commit 8e40b0af authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: move BandMathX to dedicated module

parent 8e16f48a
......@@ -21,10 +21,6 @@ otb_create_application(
SOURCES otbDownloadSRTMTiles.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES})
otb_create_application(
NAME BandMathX
SOURCES otbBandMathX.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES})
otb_create_application(
NAME Convert
......
......@@ -10,7 +10,6 @@ otb_module(OTBAppImageUtils
OTBITK
OTBImageBase
OTBImageManipulation
OTBMathParserX
OTBOSSIMAdapters
OTBObjectList
OTBProjection
......
......@@ -8,17 +8,6 @@ otb_test_application(NAME apTuUtDownloadSRTMTiles
)
#----------- BandMathX TESTS ----------------
otb_test_application(NAME apTvUtBandMathX
APP BandMathX
OPTIONS -il ${INPUTDATA}/poupees_sub_c1.png
${INPUTDATA}/poupees_sub_c2.png
${INPUTDATA}/poupees_sub.png
-out ${TEMP}/apTvUtBandMathXOutput.tif
-incontext ${INPUTDATA}/apTvUtExportBandMathX.txt
VALID --compare-image ${NOTOL}
${INPUTDATA}/apTvUtBandMathOutput.tif
${TEMP}/apTvUtBandMathXOutput.tif)
#----------- Convert TESTS ----------------
......
project(OTBAppMathParserX)
otb_module_impl()
set(OTBAppMathParserX_LINK_LIBS
${OTBApplicationEngine_LIBRARIES}
${OTBMathParserX_LIBRARIES}
${OTBObjectList_LIBRARIES}
)
otb_create_application(
NAME BandMathX
SOURCES otbBandMathX.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES})
set(DOCUMENTATION "TODO")
otb_module(OTBAppMathParserX
DEPENDS
OTBApplicationEngine
OTBMathParserX
OTBObjectList
DESCRIPTION
"${DOCUMENTATION}"
)
otb_module_test()
#----------- BandMathX TESTS ----------------
otb_test_application(NAME apTvUtBandMathX
APP BandMathX
OPTIONS -il ${INPUTDATA}/poupees_sub_c1.png
${INPUTDATA}/poupees_sub_c2.png
${INPUTDATA}/poupees_sub.png
-out ${TEMP}/apTvUtBandMathXOutput.tif
-incontext ${INPUTDATA}/apTvUtExportBandMathX.txt
VALID --compare-image ${NOTOL}
${INPUTDATA}/apTvUtBandMathOutput.tif
${TEMP}/apTvUtBandMathXOutput.tif)
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