Custom application launcher with modules

Hello, I am trying to create an application launcher with custom modules.
I want the modules loaded in slicer already when the custom application is installed by launcher.

I found a similar topic [Customized application launchers] and there is an option for custom installers that can be built without modifying anything in Slicer source code, just by tuning CMake options.

As I understood :

  1. the base slicer and all modules should be built already in the released version separately.
  2. a .cmake file should be created or modified when building PACKAGE project in the CMakePredefinedTargets folder.

Could you let me know which .cmake file should be modified and can I get any examples of it?

This is my file list for cmake build .
The S dir is slicer source code and the left dirs are modules
image