From: Nabil Ghodbane Date: Tue, 12 Apr 2022 10:28:05 +0000 (+0200) Subject: be able to compile PERSALYS in DEBUG mode... X-Git-Tag: V9_9_0~93 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=11dbc4db65e90bd62c60dcd835dd2df43dae6856;p=tools%2Fsat_salome.git be able to compile PERSALYS in DEBUG mode... --- diff --git a/products/compil_scripts/PERSALYS-v12.0.sh b/products/compil_scripts/PERSALYS-v12.0.sh index bcad863..68d22fd 100755 --- a/products/compil_scripts/PERSALYS-v12.0.sh +++ b/products/compil_scripts/PERSALYS-v12.0.sh @@ -57,6 +57,11 @@ fi CMAKE_OPTIONS+=" -DCMAKE_FIND_ROOT_PATH=ON" CMAKE_OPTIONS+=" -DSWIG_EXECUTABLE:PATH=$(which swig)" +f [ -n "$SAT_DEBUG" ]; then + CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE:STRING=Debug" +else + CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE:STRING=Release" +fi echo echo "*** cmake" $CMAKE_OPTIONS