# Custom application launcher with modules

**URL:** <https://discourse.slicer.org/t/custom-application-launcher-with-modules/32682>\
**Category:** Development\
**Created:** [November 9, 2023, 12:08am UTC](https://discourse.slicer.org/t/custom-application-launcher-with-modules/32682 "2023-11-09T00:08:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1116](https://avatars.discourse-cdn.com/v4/letter/1/439d5e/32.png) [@1116](https://discourse.slicer.org/u/1116)\
**Post date:** [November 9, 2023, 12:08am UTC](https://discourse.slicer.org/t/custom-application-launcher-with-modules/32682/1 "2023-11-09T00:08:33Z")

</div>

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](https://discourse.slicer.org/t/customized-application-launchers/564)] 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](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/3/e307cd36d8890332643399df9068e4d2fe2320e7.png)
