I would like to create a CMake function as:
function(test src_list dst_list)
# do something
endfunction()
usage:
test(${my_list} chg_list)
It means, my_list
is a list with several fields, and chg_list
will receive a list modified inside test function.
How can I create a function in CMake to do that?