[Insight-developers] ITK, ITK_USE_SYSTEM_DCMTK, and CMake

Matt McCormick matt.mccormick at kitware.com
Tue Feb 19 17:51:07 EST 2013


Brilliant.  Some up front end work on a proper DCMTKConfig.cmake is
going to solve a lot of issues and save many future headaches.

On Tue, Feb 19, 2013 at 10:41 PM, Williams, Norman K
<norman-k-williams at uiowa.edu> wrote:
> I'm trying to do a few things all at once:
>
> 1. Enhance the DCMTK Cmake build system to generate propler
> DCMTKConfig.cmake & other files such that
> find_package(DCMTK NO_MODULE) works properly.
>
> 2. Get ITK to use find_package(DCMTK NO_MODULE), primarily so that all the
> libraries DCMTK depends on are linked in to programs/libraries that use
> ITK.
>
> #2 seems to not work, in odd ways: when a program (in my case DWIConvert
> in the BRAINSStandAlone project) links to ITK libraries and uses DCMTK,
> all the DCMTK libraries are added to the link command, but not ZLIB,
> though DCMTK seems to properly report the DCMTK ZLIB dependency.
>
> If you're interested in looking at my work in DCMTK, it's in the branch of
> AddProperConfig here: https://github.com/InsightSoftwareConsortium/DCMTK
>
> Fun fact: If you turn on --trace when you run CMake to configure ITK, it
> generates 11 megabytes and 95,726 lines of output.
>
> --
> Kent Williams norman-k-williams at uiowa.edu
>
>
>
>
>
>
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
> ________________________________
> _______________________________________________
> 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


More information about the Insight-developers mailing list