From eb6c61ae4f24ff709475cbb74b0176d87456fcaa Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 15 Jan 2009 15:56:50 +0000 Subject: [PATCH] *** empty log message *** --- salome_adm/cmake_files/am2cmake.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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) -- 2.39.2