On 05/30/2012 01:46 PM, Williams, Norman K wrote:
> So I've posted a gerrit topic on the work I've done to integrate
> DCMTKImageIO: http://review.source.kitware.com/#/c/5989/
> 
> The question I have is that DCMTK needs to be built before compiling
> ITK/Modules/IO/DCMTK.  Is there some way to make the module depend on the
> DCMTK external project, something like the way the inter-module
> dependencies work?

Don't bring the external project in at the top-level.  Put it
Modules/ThirdParty/DCMTK and make it a module.  The module
implementation can provide the ITK_USE_SYSTEM_DCMTK option.
Look at Modules/ThirdParty/VNL or one of the other third-party
modules to see how it works.  You shouldn't need to touch the
top-level CMakeLists.txt at all.

-Brad
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers

Reply via email to