From 8617aa3fb40542e618fedfe9ba1fe52071e2795d Mon Sep 17 00:00:00 2001 From: crouzet Date: Thu, 8 Apr 2021 12:08:22 +0200 Subject: [PATCH] ajout d'infos debug dans l'environnement --- src/environment.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/environment.py b/src/environment.py index 875c4a5..f44c131 100644 --- a/src/environment.py +++ b/src/environment.py @@ -638,6 +638,12 @@ class SalomeEnviron: logger.write("licence file found for product %s : %s\n" % (pi.name, licence_file_name), 5) self.set("LICENCE_FILE", licence_file_name) + # these infos may be needed for the environment of some products + if "debug" in pi and pi.debug == "yes": + self.set("SAT_DEBUG", "1") + if "verbose" in pi and pi.verbose == "yes": + self.set("SAT_VERBOSE", "1") + if src.product.product_is_cpp(pi): # set a specific environment for cpp modules self.set_salome_minimal_product_env(pi, logger) -- 2.39.2