Minimal Build

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Minimal Build

Totte Karlsson
Hi,
How does one create a minimal VTK build?

I have unchecked almost everything in CMake when creating build files, but even then it seems that almost everything is being built.

Only thing I have checked is "vtk group rendering".

For example geovis and infovis are unchecked but they are still being built.
I'm using the borland CMake generator and are building static libs

Cheers,
Totte
Reply | Threaded
Open this post in threaded view
|

Re: Minimal Build

David E DeMarle
BUILD_TESTING is off or on?
VTK_WRAP_? is off or on?
VTK_Group_StandAlone is off or on?


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, Aug 5, 2014 at 6:15 PM, Totte Karlsson <[hidden email]> wrote:
Hi,
How does one create a minimal VTK build?

I have unchecked almost everything in CMake when creating build files, but
even then it seems that almost everything is being built.

Only thing I have checked is "vtk group rendering".

For example geovis and infovis are unchecked but they are still being built.
I'm using the borland CMake generator and are building static libs

Cheers,
Totte



--
View this message in context: http://vtk.1045678.n5.nabble.com/Minimal-Build-tp5728090.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
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://public.kitware.com/mailman/listinfo/vtkusers


_______________________________________________
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://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Minimal Build

David E DeMarle
Not sure how Infovis is sneaking in. When you configure your build, cmake spits out all the enabled modules and tells you why. Look there.

Geovis is in Group_Rendering for some reason. So you have to turn off Group_Rendering too. Then in the advanced cmake options page turn on only the specific modules you are interested in.

Definitely turn testing off as well. The regression tests (many of which do rendered image comparisons) bring in more modules. There is another cmake flag to prevent that but the name escapes me right now.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909


On Tue, Aug 5, 2014 at 6:23 PM, David E DeMarle <[hidden email]> wrote:
BUILD_TESTING is off or on?
VTK_WRAP_? is off or on?
VTK_Group_StandAlone is off or on?


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909


On Tue, Aug 5, 2014 at 6:15 PM, Totte Karlsson <[hidden email]> wrote:
Hi,
How does one create a minimal VTK build?

I have unchecked almost everything in CMake when creating build files, but
even then it seems that almost everything is being built.

Only thing I have checked is "vtk group rendering".

For example geovis and infovis are unchecked but they are still being built.
I'm using the borland CMake generator and are building static libs

Cheers,
Totte



--
View this message in context: http://vtk.1045678.n5.nabble.com/Minimal-Build-tp5728090.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
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://public.kitware.com/mailman/listinfo/vtkusers



_______________________________________________
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://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Minimal Build

Totte Karlsson
Thanks for the feedback.

BUILD_TESTING is off or on?
OFF

VTK_WRAP_? is off or on?
OFF

VTK_Group_StandAlone is off or on?
OFF

And thanks for the tip to turning OFF vtk group_rendering and then enabling individual modules. I thought for some reason the rendering groups was required.

I believe this will help in getting a faster build experience :)

I'll report back..

tk








Reply | Threaded
Open this post in threaded view
|

Re: Minimal Build

Totte Karlsson
Following the advice in this thread considerably reduce compile time!

That is,
BUILD_TESTING - > off
VTK_WRAP_ ->OFF

VTK_Group_StandAlone -> Off

and manually select needed modules

-tk