From 11dbc4db65e90bd62c60dcd835dd2df43dae6856 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 12 Apr 2022 12:28:05 +0200 Subject: [PATCH] be able to compile PERSALYS in DEBUG mode... --- products/compil_scripts/PERSALYS-v12.0.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.2