From: adam Date: Thu, 15 Jan 2009 15:56:50 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb6c61ae4f24ff709475cbb74b0176d87456fcaa;p=modules%2Fkernel.git *** empty log message *** --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 0de738f64..618e7c0af 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -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)