How to get final list of linked static libraries ?

I’d like to get final list of linked static libraries for a shared library target, and do some extra processing on this list.

How can I achieve this ?

I’ve already done some search, but didn’t found concrete answer:

https://gitlab.kitware.com/cmake/cmake/-/issues/12435

At configure time? Not possible. There are some things which cannot be known until generate time, so (in general), generator expressions are just not resolvable at this time. If you can wait until build time, <LANG>_LINKER_LAUNCHER is the most reliable way to get it as you get access to the full command line.

I was hoping to get it in Generate Time, but build time will do for me.
Thanks.