From: adam Date: Fri, 4 Mar 2011 09:39:33 +0000 (+0000) Subject: Definiton of MODULE variable for cmake X-Git-Tag: Start_BR_19998_21191~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fe55e009f8252461119d440d25b3bc8f97608a3d;p=modules%2Fkernel.git Definiton of MODULE variable for cmake --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index f28fe8afc..6620e5fed 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -466,6 +466,10 @@ class CMakeFile(object): ENABLE_TESTING() """) # -- + newlines.append(""" + SET(MODULE %s) + """%(self.module.upper())) + # -- if self.module == "kernel": newlines.append(""" INCLUDE(${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/FindPLATFORM.cmake)