[vtkusers] How to use internal classes without all the auto-generated code ?

Brad King brad.king at kitware.com
Fri Apr 25 17:01:34 EDT 2003


> Now, with 4.2 version, my problem is, that there are other
> auto-generated references to it, e.g.  vtkInstatiator* creates
> references to *New which then becomes an unresolved reference at link
> time.

Add this to your cmake code:

SET_SOURCE_FILES_PROPERTIES(vtkMyHelperClass.cxx WRAP_EXCLUDE)

-Brad





More information about the vtkusers mailing list