Hi,
I am new to slicer and I am trying to learn extension development for my Company’s internal use.
I am currently building an extension with a loadable module. This module depends on a few proprietary libraries distributed as .dll/.so.
So far I have managed to download these libraries from a server using Fetchcontent and linking against them.
I am not using Superbuild.
When I am trying to test my module using the SlicerWithExtension executable in the build folder, the required external dlls are not found.
Manually copying these from the download folder to build/lib/Slicer-5.7/qt-loadable-modules folder allows me to run my extension. When I create an install package, these libraries are not included.
What is the best practice to build and test against an extension depending on external binary libraries?
How can include those libraries in my extension package?
Thank you