]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Compatibility blsurf plugin
authoradam <adam>
Fri, 27 Feb 2009 13:47:58 +0000 (13:47 +0000)
committeradam <adam>
Fri, 27 Feb 2009 13:47:58 +0000 (13:47 +0000)
salome_adm/cmake_files/am2cmake.py

index 97e3663f6b470529ae88e8d1fe5e082c85f6ae32..69108a07c4b3ba39b156e670466f2738ef54ee97 100644 (file)
@@ -502,6 +502,17 @@ class CMakeFile(object):
                         INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindNETGEN.cmake)
                         """)
                         pass
+                    if self.module == "blsurfplugin":
+                        newlines.append("""
+                        SET(GEOM_ROOT_DIR $ENV{GEOM_ROOT_DIR})
+                        SET(MED_ROOT_DIR $ENV{MED_ROOT_DIR})
+                        SET(SMESH_ROOT_DIR $ENV{SMESH_ROOT_DIR})
+                        INCLUDE(${GEOM_ROOT_DIR}/adm_local/cmake_files/FindGEOM.cmake)
+                        INCLUDE(${MED_ROOT_DIR}/adm_local/cmake_files/FindMED.cmake)
+                        INCLUDE(${SMESH_ROOT_DIR}/adm_local/cmake_files/FindSMESH.cmake)
+                        INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindBLSURF.cmake)
+                        """)
+                        pass
                     if self.module == "visu":
                         newlines.append("""
                         SET(MED_ROOT_DIR $ENV{MED_ROOT_DIR})
@@ -563,6 +574,11 @@ class CMakeFile(object):
                 SET(NETGENPLUGIN_ENABLE_GUI ON)
                 """)
                 pass
+            elif self.module == "blsurfplugin":
+                newlines.append("""
+                SET(BLSURFPLUGIN_ENABLE_GUI ON)
+                """)
+                pass
             # --
             pass
         # --