I’d like to propose a patch to allow external modules to skip the creation of the ITKData target. We might want to discuss this here first.
The use case is that RTK embeds another external module internally: ITKCudaCommon. While it is possible to have a remote module depending on another remote (i.e building in ITK), the only limitation when building externally is that the inner module (ITKCudaCommon) will create the ITKData target before the top-level module (RTK). Resulting in RTK missing the test data.
I would completely understand if such a patch was rejected, because the right way would be to pull ITKCudaCommon outside of RTK. What do you think @dzenanz ?