From: Nabil Ghodbane Date: Wed, 12 Jun 2024 16:27:47 +0000 (+0200) Subject: spns #42205 [SAT][Windows] support different values for CMAKE_BUILD_TYPE - part III X-Git-Tag: V9_13_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a57697619834a42c95c35e30fd122947be7bef68;p=tools%2Fsat.git spns #42205 [SAT][Windows] support different values for CMAKE_BUILD_TYPE - part III --- diff --git a/src/compilation.py b/src/compilation.py index 71db01f..091b25a 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -495,7 +495,8 @@ CC=\\"hack_libtool\\"%g" libtool''' self.build_environ.set("SAT_HPC", "1") if self.debug_mode: self.build_environ.set("SAT_DEBUG", "1") - self.build_environ.set("SAT_CMAKE_BUILD_TYPE", self.cmake_build_type) + if "cmake_build_type" in self.config.APPLICATION: + self.build_environ.set("SAT_CMAKE_BUILD_TYPE", self.config.APPLICATION.cmake_build_type) if self.verbose_mode: self.build_environ.set("SAT_VERBOSE", "1")