]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Bug IPAL22865 "Re-structurization of Partition-related packges in SALOME GEOM module"
authorana <ana@opencascade.com>
Tue, 20 Mar 2012 12:00:07 +0000 (12:00 +0000)
committerana <ana@opencascade.com>
Tue, 20 Mar 2012 12:00:07 +0000 (12:00 +0000)
Win32 compilation

salome_adm/cmake_files/am2cmake.py

index e7f0e2dade38cea92947cbe42f638a22b90133c7..f5b921d6c7909f55c3f8f30bde8be81eae887ce6 100644 (file)
@@ -302,6 +302,7 @@ class CMakeFile(object):
             "EntityGUI",
             "GenerationGUI",
             "GEOMAlgo",
+            "GEOMAlgo_NEW",
             "GEOMArchimede",
             "GEOMBase",
             "GEOMbasic",
@@ -320,7 +321,9 @@ class CMakeFile(object):
             "MeasureGUI",
            "Material",
             "NMTDS",
+            "NMTDS_NEW",
             "NMTTools",
+            "NMTTools_NEW",
             "OCC2VTK",
             "OperationGUI",
             "PrimitiveGUI",
@@ -592,6 +595,17 @@ class CMakeFile(object):
                             pass
                         if self.module == "geom":
                             newlines.append("""
+                           IF(OCC_VERSION_DEVELOPMENT)
+                               SET(NMTDS_VAR NMTDS_NEW)
+                               SET(NMTTools_VAR NMTTools_NEW)
+                               SET(GEOMAlgo_VAR GEOMAlgo_NEW)
+                           ELSE(OCC_VERSION_DEVELOPMENT)
+                               SET(NMTDS_VAR NMTDS)
+                               SET(NMTTools_VAR NMTTools)
+                               SET(GEOMAlgo_VAR GEOMAlgo)
+
+                           ENDIF(OCC_VERSION_DEVELOPMENT)
+
                             INCLUDE(${KERNEL_ROOT_DIR}/salome_adm/cmake_files/FindSPHINX.cmake)
                             """)
                             pass