This is a good suggestion by @roiser: processes like pptt have two subdirectories ggtt and uutt, and both produce libraries with the same name in the same location.
One option is to append the process name to each library.
For instance “libmg5amc_cxx_p1_sigma_sm_gg_ttx.so”. This is easy to implement also in cmake, but may be a bit long.
Another alternative, shorter but maybe less easy in cmake,
> libmg5amc_gg_ttx_common.so
> libmg5amc_gg_ttx_cu.so
> libmg5amc_gg_ttx_cxx.so
> libmg5amc_uux_ttx_common.so
> libmg5amc_uux_ttx_cu.so
> libmg5amc_uux_ttx_cxx.so
To be investigated
This is a good suggestion by @roiser: processes like pptt have two subdirectories ggtt and uutt, and both produce libraries with the same name in the same location.
One option is to append the process name to each library.
For instance “libmg5amc_cxx_p1_sigma_sm_gg_ttx.so”. This is easy to implement also in cmake, but may be a bit long.
Another alternative, shorter but maybe less easy in cmake,
To be investigated