]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[E.A.] Use the NOGDI compilation flags on windows for 3 libraries
authoradam <adam>
Thu, 20 Nov 2008 15:41:46 +0000 (15:41 +0000)
committeradam <adam>
Thu, 20 Nov 2008 15:41:46 +0000 (15:41 +0000)
salome_adm/cmake_files/am2cmake.py

index 2c7f5f51f9d9019ecd9e5a0f482b155452344835..ce04824ed5b2b6a9f59ed8f0f1453e0723f0a507 100644 (file)
@@ -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})