From: adam Date: Tue, 29 Sep 2009 14:11:49 +0000 (+0000) Subject: compatibility med2.3.6 X-Git-Tag: V5_1_3rc1~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1f904e065c7a0e29cd35e0ca058a701c162e709e;p=modules%2Fkernel.git compatibility med2.3.6 --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 5b6d3874a..a7fb1ef0a 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -1254,7 +1254,7 @@ class CMakeFile(object): ENDIF(WINDOWS) ''') # -- - if self.module == "yacs": + if self.module in ["medfile", "yacs"]: newlines.append(r''' IF(WINDOWS) SET(var ${var} -DNOGDI) @@ -1743,6 +1743,14 @@ if __name__ == "__main__": # -- for f in files: if f == "Makefile.am": + if module == "medfile": + tmp = root[len(the_root)+1:] + from os import sep + l = tmp.split(sep) + if l in [ ["src"], ["tools", "mdump"], ["tools", "medconforme"], ["tools", "medimport"] ]: + f = "Makefile.am.cmake" + pass + pass convertAmFile(the_root, root, dirs, files, f, module) pass pass