From: adam Date: Thu, 11 Mar 2010 18:00:09 +0000 (+0000) Subject: Compile the noinst libraries as static and X-Git-Tag: V5_1_4a1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7666366561e474a1ad61e3f44f330768284243b9;p=modules%2Fkernel.git Compile the noinst libraries as static and do not install them. --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 7f8283b99..97df6132f 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -1412,6 +1412,15 @@ class CMakeFile(object): SET(type SHARED) ENDIF(ISIDL) ''') + if key == "noinst_LTLIBRARIES": + newlines.append(r''' + IF(WINDOWS) + SET(type STATIC) + ELSE(WINDOWS) + SET(type STATIC) + ENDIF(WINDOWS) + ''') + pass # -- # Set sources for the library # -- @@ -1485,7 +1494,7 @@ class CMakeFile(object): # -- self.setLibAdd(key, newlines) # -- - if 1: # key != "noinst_LTLIBRARIES": + if key != "noinst_LTLIBRARIES": if self.module == "medfile": newlines.append(r''' SET(DEST lib)