]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
*** empty log message ***
authoradam <adam>
Thu, 15 Jan 2009 15:56:50 +0000 (15:56 +0000)
committeradam <adam>
Thu, 15 Jan 2009 15:56:50 +0000 (15:56 +0000)
salome_adm/cmake_files/am2cmake.py

index 0de738f644224de3d920a2954d39b30018950613..618e7c0af047f5c6634dbb2023072f5bea4b71fa 100644 (file)
@@ -1008,6 +1008,22 @@ class CMakeFile(object):
             newlines.append(r'''
             IF(BEGIN_WITH_lib)
             INSTALL(TARGETS ${name} DESTINATION lib/salome)
+            ''')
+            if self.module == "geom":
+                newlines.append(r'''
+                IF(WINDOWS)
+                STRING(REGEX MATCH "Export" ISExport ${name})
+                IF(ISExport)
+                INSTALL(FILES ${CMAKE_INSTALL_PREFIX}/lib/salome/${name}.dll DESTINATION lib/salome RENAME lib${name}.dll)
+                ENDIF(ISExport)
+                STRING(REGEX MATCH "Import" ISImport ${name})
+                IF(ISImport)
+                INSTALL(FILES ${CMAKE_INSTALL_PREFIX}/lib/salome/${name}.dll DESTINATION lib/salome RENAME lib${name}.dll)
+                ENDIF(ISImport)
+                ENDIF(WINDOWS)
+                ''')
+                pass
+            newlines.append(r'''
             IF(name STREQUAL SalomePyQt)
             INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib${name}.so DESTINATION lib/salome RENAME ${name}.so)
             ENDIF(name STREQUAL SalomePyQt)