[Insight-developers] PROPOSAL: Change default build type to "Release"
Julien Jomier
julien.jomier at kitware.com
Sun Jul 24 11:55:34 EDT 2011
I second this one and that's what I usually recommend to first ITK users.
Julien
On 24/07/2011 16:58, Bill Lorensen wrote:
> Actually, I almost always build RelWithDebInfo.
>
> On Sun, Jul 24, 2011 at 10:25 AM, Marcus D. Hanwell
> <marcus.hanwell at kitware.com <mailto:marcus.hanwell at kitware.com>> wrote:
>
> On Sun, Jul 24, 2011 at 10:14 AM, Matthew McCormick (thewtex)
> <matt at mmmccormick.com <mailto:matt at mmmccormick.com>> wrote:
> > I like a third option -- RelWithDebInfo.
> >
> > That produces '-g -O2', at least on Linux.
> >
> > It is nice to have debugging symbols in there for a quick correction
> > in case something goes wrong. '-g -O2' is also good for profiling.
> >
> > -O2 is nicer than -O3 because you still get the optimizations that
> > have the most impact speed while still keeping compile time
> > reasonable. We may also dissuade new users from continuing if it
> > takes forever to compile.
>
> Yes, that is something I have been using more too, and could be a
> great compromise. With GCC -O3 can really bloat compile times with
> little gain (and sometimes slowdowns). The Windows (MSVC) run time
> increases we have seen have largely been due to STL when in debug
> mode, there are ways of reducing the impact that some of the ParaView
> Windows guys have been looking into.
>
> Marcus
>
>
>
>
> _______________________________________________
> 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.html
>
> 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
More information about the Insight-developers
mailing list