From f9ee59ba21f841c63ad33284f175e824b1c6ae4b Mon Sep 17 00:00:00 2001 From: ana Date: Thu, 28 Feb 2013 14:44:57 +0000 Subject: [PATCH] Preparing Win64 version --- salome_adm/cmake_files/deprecated/am2cmake.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salome_adm/cmake_files/deprecated/am2cmake.py b/salome_adm/cmake_files/deprecated/am2cmake.py index 2c71ef913..afeb8661f 100644 --- a/salome_adm/cmake_files/deprecated/am2cmake.py +++ b/salome_adm/cmake_files/deprecated/am2cmake.py @@ -679,6 +679,7 @@ class CMakeFile(object): newlines.append(""" IF(WINDOWS) SET(CPPUNIT_IS_OK 0) + MESSAGE(STATUS "cppunit is disabled.") ENDIF(WINDOWS) """) pass @@ -1968,6 +1969,11 @@ class CMakeFile(object): SET(vars ${vars} -ftemplate-depth-32) SET(vars ${vars} -fPIC) SET(vars ${vars} -g) + IF("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") # if platform is Windows 64 bit + IF(name STREQUAL _pilot) + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") # to avoid error C1128 + ENDIF(name STREQUAL _pilot) + ENDIF("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") ENDIF(WINDOWS) SET(flags) FOREACH(f ${var}) -- 2.39.2