I am quite fond of ITK’s module architecture and I am very pleased with RTK’s move to being a remote module. Thank you all for creating this architecture and thank you @LucasGandel for adapting RTK!
Yet, I think that RTK’s architecture could be improved and we are looking for advices. Currently, most of RTK’s code is in the include, src, test and wrapping directories, as expected for an ITK module. There are however 3 submodules in the utilities directory, 2 third parties gengetopt and lp_solve and one ITK module, ITKCudaCommon. But they are currently compiled along RTK and they are not defined as ITK modules, which I think would be preferable. I have the following questions to try to improve this:
- is there any possibility to let a remote module be a bundle of modules?
- if not, is there any other option than having four remote module files in ITK to resolve this (instead of, currently, one
RTK.remote.cmake)? - if not, is this an option or would you suggest to keep it as is? Can a
Remotemodule be aThirdPartymodule?
Thanks in advance for your help,
Simon