From cf21d4ee1f7437244c5556304a7383dd6b612c87 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 10 Mar 2009 15:36:37 +0000 Subject: [PATCH] *** empty log message *** --- salome_adm/cmake_files/am2cmake.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 01748db72..7eb735a16 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -1094,6 +1094,20 @@ class CMakeFile(object): TARGET_LINK_LIBRARIES(${name} ${libadd}) ''') # -- + newlines.append(r''' + IF(WINDOWS) + SET(targets) + SET(targets ${targets} MEFISTO2D) + FOREACH(target ${targets}) + IF(name STREQUAL ${target}) + IF(CMAKE_BUILD_TYPE STREQUAL Debug) + SET_TARGET_PROPERTIES(${name} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:MSVCRT") + ENDIF(CMAKE_BUILD_TYPE STREQUAL Debug) + ENDIF(name STREQUAL ${target}) + ENDFOREACH(target ${targets}) + ENDIF(WINDOWS) + ''') + # -- return def setCompilationFlags(self, key, newlines): -- 2.39.2