[ITK] [ITK-users] Link ITK libraries statically
Bradley Lowekamp
blowekamp at mail.nih.gov
Wed May 20 09:38:20 EDT 2015
Hello,
Does the CMake variable BUILD_SHARED_LIBS meet your needs?
Brad
On May 20, 2015, at 12:49 AM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
> 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
> _____________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150520/54757a34/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