[Insight-users] How to compile ITK with -static flag
Mathieu Malaterre
malat@free.fr
Mon, 03 Feb 2003 12:43:53 +0100
Maria,
I guess you can switch 'BUILD_SHARED_LIBS' to OFF when using ccmake
(cmake). This is one of the very first option.
HTH
mathieu
Nay, Maria-Magdalena MMN (MED) wrote:
>Hello,
>
>I'm using some of the Insight Applications and I would like to obtain a
>graph profile data. I'm on Linux, so I use gprof. I compiled Insight
>with -pg flag, but gprof works only with static libraries. Could
>somebody tell me where I must configure it in cmake in order to replace
>the -rdynamic flag with -static?
>Thank you
>
>Maria-Magdalena Nay
>_______________________________________________
>Insight-users mailing list
>Insight-users@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users
>
>
>
>