From 14b2f9e80de613c330f0f142b01f6540f29c8c52 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 20 Nov 2008 15:41:46 +0000 Subject: [PATCH] [E.A.] Use the NOGDI compilation flags on windows for 3 libraries --- salome_adm/cmake_files/am2cmake.py | 11 +++++++++++ 1 file changed, 11 insertions(+) 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}) -- 2.39.2