I would like to create a CMake function as:
function(test src_list dst_list) # do something endfunction()
usage:
test(${my_lis
Check that inside your function you are set()ing not dst_list but ${dst_list}. You need this to return data to the parent scope.
set()
dst_list
${dst_list}