[Insight-developers] ITK/CMake q: Can I make a module depend on an ExternalProject target?

Brad King brad.king at kitware.com
Thu May 31 10:02:20 EDT 2012


On 05/31/2012 10:00 AM, Williams, Norman K wrote:
> Thanks a lot -- this is the sort of information I need. I can see that
> ITK's CMake Module based infrastructure has some snazzy features. 

That is not a modularization feature.  It is a CMake feature.
"ITKIODCMTK" is a target you add with add_library.  "dcmtk"
is a target added by ExternalProject_Add.  You're telling
CMake about the dependency between them.



More information about the Insight-developers mailing list