[vtkusers] CMAKE config for Release

Wes Turner wes.turner at kitware.com
Mon Nov 1 09:31:21 EDT 2010


Conversely, to actually set it up for Release, set:

CMAKE_BUILD_TYPE    = Release

For windows builds you can also select the build type from the drop down in
Visual Studios.

- Wes

On Mon, Nov 1, 2010 at 9:06 AM, David Doria <daviddoria at gmail.com> wrote:

> On Mon, Nov 1, 2010 at 8:48 AM, Leonardo M. Ramé <l.rame at griensu.com>
> wrote:
> > Hi, I would like to know what are the flags needed in CMAKE to compile
> > VTK for Release version, I think by default it's configured for
> > Debugging.
>
> I believe the default is actually release. To change it to debug, I set:
>
>  CMAKE_BUILD_TYPE    = DEBUG
>
> When it is blank (which I believe is the default), I believe that
> indicates release mode.
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101101/6c24e6d4/attachment.htm>


More information about the vtkusers mailing list