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)
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})
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})