Hello Julián,
thank you for taking time to give a detail reply.
My question is more in direction, I would like to have PostBuild only for one module (Port) and not for all modules.
As seen in your example also, for every module it generates the files for both variants VS_0 and VS_1.

For e.g. even though I have not ticked the postbuild checkbox in MCU module, it still generates Mcu_VS_0_PBcfg.h and Mcu_VS_1_PBCfg.h. So even though I want Mcu to be a pre-compile variant and do not want to send any specific parameter to Mcu_Init, I have to send one of the config structure as argument, as the files are generated accordingly. Same is the case for all the other modules.
Sure there are workarounds to get it working somehow, like create 2 separate projects, one for pre-compile modules and another one just for port module with post build only of port module or another option is let tresos generate for all modules both variants and during compilation select only one for, e.g. compile only Mcu_VS_0_*.* .
Thank you and Regards