Skip to content
Snippets Groups Projects
Commit 6345fafe authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Add OTB data directory

parent fd9b2307
Branches
Tags
No related merge requests found
......@@ -2,11 +2,11 @@
export TOP_DIR=$(pwd)
# curl -s -S -L -o otb-data-master.tar.gz \
# https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-data/-/archive/master/otb-data-master.tar.gz
# tar xzf otb-data-master.tar.gz
# mv otb-data-master otb-data
# rm -f otb-data-master.tar.gz
curl -s -S -L -o otb-data-master.tar.gz \
https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-data/-/archive/master/otb-data-master.tar.gz
tar xzf otb-data-master.tar.gz
mv otb-data-master otb-data
rm -f otb-data-master.tar.gz
ctest -VV -S CI/main_ci.cmake
......
......@@ -47,13 +47,14 @@ OTB_DATA_LARGEINPUT_ROOT:PATH=${OTB_LARGEINPUT_ROOT}")
string (REPLACE "\n" ";" otb_build_project_option ${otb_build_project_option})
string (REPLACE "\n" ";" otb_use_option ${otb_use_option})
string (REPLACE "\n" ";" otb_wrap_option ${otb_wrap_option})
string (REPLACE "\n" ";" otb_data_option ${otb_data_option})
set (otb_options "")
list (APPEND otb_options ${otb_build_project_option})
list (APPEND otb_options ${otb_use_option})
list (APPEND otb_options ${otb_wrap_option})
list (APPEND otb_options ${otb_data_option})
foreach(option ${otb_options})
set( CONFIGURE_OPTIONS "${CONFIGURE_OPTIONS}-D${option};")
endforeach(option)
\ No newline at end of file
endforeach(option)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment