[Insight-developers] ITK, ITK_USE_SYSTEM_DCMTK, and CMake
Williams, Norman K
norman-k-williams at uiowa.edu
Tue Feb 19 17:41:57 EST 2013
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.
________________________________
More information about the Insight-developers
mailing list