[Insight-developers] How do I make a module default to Off?

Johnson, Hans J hans-johnson at uiowa.edu
Wed Oct 31 17:49:09 EDT 2012


Is there any Cmake Expert that could take this over and push it over the
finish line?  This cmake issue has been holding this up since May 2012.
We've exhausted our ability to figure out the Windows magic needed.

Thanks,
Hans


On 10/31/12 7:14 PM, "Williams, Norman K" <norman-k-williams at uiowa.edu>
wrote:

>I'm giving up for the moment on getting DCMTK ImageIO working on Windows
>with Visual Studios. The unix-like targets should work fine but there is a
>hideous thicket of configuration problems that the Visual Studio build
>system introduces, that I intend to either return to eventually or leave
>to someone who thinks they can resolve them.
>
>What I want to do now is this: If the compiler is MSVC, then ITKDCMTK and
>ITKIODCMTK modules are turned off by default.  If the user turns them on,
>then only for MSVC require ITK_USE_SYSTEM_DCMTK to be On.
>
>To enforce that requirement for ITK_USE_SYSTEM_DCMTK I can add some logic
>to Modules/ThirdParty/DCMTK/itk-module-init.cmake.
>
>What I don't understand is where and how modules like
>Modules/Bridge/VtkGlue are forced to default to OFF.
>
>If anyone is really ambitious and is a Visual Studio whiz, they can take a
>look at http://review.source.kitware.com/#/c/7830/
>
>Brad King was extremely helpful with getting things working under OSX and
>Linux and got most of the way there with Windows/Visual Studio.  The
>problem with Visual Studio is that apparently, once DCMTK gets built as an
>external project, all the programs that link to the DCMTK libraries fail
>because the DCMTK libraries found depend on the wrong versions of Visual
>Studio system libraries.
>
>--
>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



________________________________
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