Hi All,
I saw there were a few posts that asked a similar question already but the answers were not clear enough to me unfortunately.
Is it possible to link an external C++ exe/library against a Slicer Loadable Module (possibly only the logic)?
If yes, how? Any documentation available, ideally for CMake?
I saw that when building Slicer SlicerConfig.cmake and SlicerTargets.cmake are exported. I tried using these files to link against a module, cmake is fine but I have issues with the includes.
Thank you all for your help!
I think the most typical way to do this is to create a superbuild extension. You can find lots of them by now. SlicerRT, SlicerVMTK, SlicerVirtualReality, etc.
Hi Csaba, thanks for your answer. It seems to me, that these extensions are runtime libraries that are run from Slicer. If this is the case, this is not what I want. I want to load the needed Slicer-libraries from my application at runtime, not the other way around. Am I wrong?
Ah, I see. Sorry I misunderstood the question then.