]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Preparation win32 version V7_2_BR V7_2_0_WIN
authorana <ana@opencascade.com>
Mon, 29 Jul 2013 05:44:44 +0000 (05:44 +0000)
committerana <ana@opencascade.com>
Mon, 29 Jul 2013 05:44:44 +0000 (05:44 +0000)
salome_adm/cmake_files/deprecated/am2cmake.py

index 55034cad812eb40eab284e93432aff685c82caff..fac70cb18b3e20e5fba7381b97a4c0e7935f7289 100644 (file)
@@ -661,6 +661,10 @@ class CMakeFile(object):
                             INCLUDE(${CMAKE_SOURCE_DIR}/adm/cmake/FindEXPAT.cmake)
                             INCLUDE(${CMAKE_SOURCE_DIR}/adm/cmake/FindGRAPHVIZ.cmake)
                             INCLUDE(${KERNEL_ROOT_DIR}/salome_adm/cmake_files/FindSPHINX.cmake)
+
+                            SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -D_SECURE_SCL=0)
+                            SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -D_SECURE_SCL_THROWS=0)
+                            SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -D_HAS_ITERATOR_DEBUGGING=0) # To avoid runtime error during checking iterators
                             """)
                             pass
                         if self.module == "jobmanager":