From: adam Date: Thu, 20 Nov 2008 15:41:46 +0000 (+0000) Subject: [E.A.] Use the NOGDI compilation flags on windows for 3 libraries X-Git-Tag: V5_1_0rc2~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=14b2f9e80de613c330f0f142b01f6540f29c8c52;p=modules%2Fkernel.git [E.A.] Use the NOGDI compilation flags on windows for 3 libraries --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 2c7f5f51f..ce04824ed 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -667,6 +667,17 @@ class CMakeFile(object): def setCompilationFlags(self, newlines): newlines.append(r''' SET(var) + IF(WINDOWS) + IF(name STREQUAL SalomeIDLKernel) + SET(var ${var} -DNOGDI) + ENDIF(name STREQUAL SalomeIDLKernel) + IF(name STREQUAL SalomeDS) + SET(var ${var} -DNOGDI) + ENDIF(name STREQUAL SalomeDS) + IF(name STREQUAL SALOMEDS_Client_exe) + SET(var ${var} -DNOGDI) + ENDIF(name STREQUAL SALOMEDS_Client_exe) + ENDIF(WINDOWS) SET(var ${var} ${PLATFORM_CPPFLAGS}) SET(var ${var} ${PTHREADS_INCLUDES}) SET(var ${var} ${${amname}_CPPFLAGS})