From: crouzet Date: Thu, 8 Apr 2021 10:08:22 +0000 (+0200) Subject: ajout d'infos debug dans l'environnement X-Git-Tag: 5.8.0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fnct%2Fjan21;hp=e6952ef3b2bfaa6716a915ecb49700f7c32f1429;p=tools%2Fsat.git ajout d'infos debug dans l'environnement --- 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)