proposal: eliminate hints file

David Gobbi dgobbi at irus.rri.on.ca
Mon Apr 10 11:30:20 EDT 2000


Hi Ken,

This would cut down on build time because whenever anyone modifies
the hints file, 'make' rebuilds all the wrappers.  My test machine
has tcl, python, and java wrappers so this means a lot of time.
Similarly, when I or anyone else does a CVS commit of the hints file,
the solaris coninuous build has to chug away for hours before giving
back test results.

 - David

--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

On Mon, 10 Apr 2000, Ken Martin wrote:

> Hey David,
> 
> Why would this cut down on the build time? Savings due to not having to 
> parse the hints every time? Just curious what the angle is.
> 
> - Thanks
> - Ken
> 
> 
> >For those people who either access vtk through cvs and/or write
> >your own vtk classes, I have a proposal that would really cut
> >down on build time: move all of the info in the vtk/wrap/hints
> >file into the individual header files.
> >
> >This could be done with a set of typedefs in vtkSetGet.h that the wrappers
> >could recognize:
> >
> >typedef float *vtkfloat2;
> >typedef float *vtkfloat3;
> >typedef double *vtkdouble4;
> >etc.
> >
> >A declaration with a return-type hint would look like e.g.
> >
> >vtkfloat3 IntersectWithLine(const float p1[3], const float p2[3],
> >                             const normal[3], const origin[3])
> >
> >This function would automatically be wrapped to return 3 floats,
> >and the .html docs would translate 'vtkfloat3' back into 'float *'
> >or possibly into 'float[3]' (which is more informative, but not
> >absolutely correct).
> >
> >Any thoughts?
> >
> >  - David
> >
> >--
> >   David Gobbi, MSc                    dgobbi at irus.rri.on.ca
> >   Advanced Imaging Research Group
> >   Robarts Research Institute, University of Western Ontario
> >
> >--------------------------------------------------------------------
> >This is the private VTK discussion list. Please keep messages on-topic.
> >Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> >To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> ><majordomo at public.kitware.com>. For help, send message body containing
> >"info vtkusers" to the same address.
> >--------------------------------------------------------------------
> 





More information about the vtk-developers mailing list