[ITK] [ITK-users] Link ITK libraries statically

Gib Bogle g.bogle at auckland.ac.nz
Wed May 20 00:49:19 EDT 2015


I am using cmake and VS2010 to build an ITK application on Windows (also using Qt, but that is not relevant I think).  I want to give the executable to a colleague, but I'd rather not have to transfer the 16 ITK DLLs as well.  Is there a way to build my application so that the ITK libraries are linked statically?
A related question: I am using ITK in this program only to read and write tiff images.  Is there a way to limit the libraries that are linked to just those that are needed?

Thanks
Gib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150520/cb2c9521/attachment.html>
-------------- next part --------------
_____________________________________
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://www.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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list