From: adam Date: Tue, 10 Mar 2009 15:36:37 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_1rc2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf21d4ee1f7437244c5556304a7383dd6b612c87;p=modules%2Fkernel.git *** empty log message *** --- 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):