[Ctk-developers] Fwd: [Insight-developers] ITK, ITK_USE_SYSTEM_DCMTK, and CMake

Steve Pieper pieper at ibility.net
Wed Feb 20 08:54:58 EST 2013


Hi -

If any CTK folks can help Kent out with this worthy project I think we
would all benefit.

-Steve


---------- Forwarded message ----------
From: Matt McCormick <matt.mccormick at kitware.com>
Date: Tue, Feb 19, 2013 at 5:51 PM
Subject: Re: [Insight-developers] ITK, ITK_USE_SYSTEM_DCMTK, and CMake
To: "Williams, Norman K" <norman-k-williams at uiowa.edu>
Cc: ITK <insight-developers at itk.org>


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
_______________________________________________
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 Ctk-developers mailing list