From: adam Date: Thu, 24 Sep 2009 14:15:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_3rc1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ec0b469805286b5628d0a5db54a998795e4a3af7;p=modules%2Fkernel.git *** empty log message *** --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 505ea0a35..67facc6cc 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -920,6 +920,8 @@ class CMakeFile(object): SET(outputs ${src}) SET(dynsrc ${CMAKE_CURRENT_BINARY_DIR}/${base}DynSK.cc) SET(outputs ${outputs} ${dynsrc}) + SET(inc ${CMAKE_CURRENT_BINARY_DIR}/${base}.hh) + SET(outputs ${outputs} ${inc}) IF(input STREQUAL Calcium_Ports.idl) SET(input ${CMAKE_CURRENT_BINARY_DIR}/${input}) ELSE(input STREQUAL Calcium_Ports.idl) @@ -1292,6 +1294,7 @@ class CMakeFile(object): SET(vars ${vars} -include SALOMEconfig.h) SET(vars ${vars} -ftemplate-depth-32) SET(vars ${vars} -fPIC) + SET(vars ${vars} -g) ENDIF(WINDOWS) SET(flags) FOREACH(f ${var}) @@ -1524,6 +1527,11 @@ class CMakeFile(object): newlines.append(r''' SET(name "${amname}_exe") SET(srcs ${${amname}_SOURCES} ${dist_${amname}_SOURCES}) + SET(l ${nodist_${amname}_SOURCES}) + FOREACH(f ${l}) + SET(src ${CMAKE_CURRENT_BINARY_DIR}/${f}) + SET(srcs ${srcs} ${src}) + ENDFOREACH(f ${l}) LIST(LENGTH srcs nb) IF(nb) ADD_EXECUTABLE(${name} ${srcs})