Custom module icons in SlicerCustomAppTemplateApp missing

I´ve build a SlicerCustomAppTemplateApp with a custom module in Win11.

In Resouces/Icon folder there are many other icons.

I set Slicer_EXTENSION_SOURCE_DIRS ${SlicerCustomAppTemplate_SOURCE_DIR}/Modules/Scripted/MyCustomModule
but only the main icon was added to the project folder.

Is there any other way to add extra resources to SlicerCustomAppTemplateApp?

Thanks on advance!

The CMakeLists.txt for your given scripted loadable module is where you can define python resources to include in the package.

See for example how the Screen Capture module specifies to include the module icon and another image file for use by the module:

1 Like

I need to improve my Cmake skills…
Thank you James!!!

1 Like