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