[Insight-users] Do we have to build ITK for both "Release" and "Debug"?

Vincent A. Magnotta vincent-magnotta at uiowa.edu
Sun Oct 22 12:01:26 EDT 2006


Daniel,

These options are configured through cmake and not Visual Studio. The
options are set with the following variables: BUILD_EXAMPLES, and
BUILD_TESTING, and USE_WRAP_ITK. You will want to set these options to
OFF.

Vince
 


On Sun, 2006-10-22 at 10:22 -0500, daniel mark wrote:
> Dear Luis:
> 
>    I am not familar with the Visual Studio 2005 IDE.
> Is it possible that you can tell me the correct way to disable examples, testing
> and wrapping build?
> 
> 
> 
> Thank you very much!
> -Daniel
> 
> 
> > A build directory of ITK is large only if you build all
> > the Examples, Testing and Wrapping.
> >
> > You can have a compact build of ITK if you disable
> > Examples, Testing and Wrapping. This will give you
> > what you need in order to use ITK in an external project.
> >
> > With such configuration, a build of ITK comes down to:
> >
> >
> >                    92  Mbytes
> >
> >
> > Which is not much, considering that the ITK source tree
> > itself has 93Mb   :-)
> >
> >
> > At that size, there is no good reason for not having
> > a build for Release, and a separate build for Debug
> > mode.
> >
> >
> >    Regards,
> >
> >
> >       Luis
> >
> >
> >
> > -------------------
> > daniel mark wrote:
> > > Hello all:
> > >
> > > I read the comments from Luis
> > > //////////////////////////////////////////////////////////
> > > http://public.kitware.com/pipermail/insight-users/2005-December/015975.html
> > >
> > > A common mistake is to build ITK for "Release", and then
> > >  try to build the examples for "Debug", or the other way
> > >  around.
> > >
> > >  Please make sure that you use the same compilation mode
> > >  for *all* the libraries and the applications.
> > >
> > > ////////////////////////////////////////////////////////
> > >
> > > Now I have compiled ITK in Release model, however, I would like to
> > > debug an example
> > > program. What should I do?
> > >
> > > Should I rebuild ITK in Debug model?
> > > The size of C:\Program
> > > Files\InsightToolkit-2.8.1\InsightToolkit-2.8.1_Binary is around 1.76G
> > > for release build.
> > >
> > > I really have to rebuild ITK in debug model and have another directory
> > > with size 1.76G???
> > >
> > >
> > > Thank you for you comments.
> > > -Daniel
> > > _______________________________________________
> > > Insight-users mailing list
> > > Insight-users at itk.org
> > > http://www.itk.org/mailman/listinfo/insight-users
> > >
> >
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
-- 
Assistant Professor
Department of Radiology
0453-D JCP
200 Hawkins Drive
Iowa City, IA 52242
E-mail: vincent-magnotta at uiowa.edu
Phone: 319-356-8255
Fax: 319-353-6275
Website: http://www.radiology.uiowa.edu



More information about the Insight-users mailing list