[vtk-developers] dashboard failure with Java wrapping and Obj-C++?

Sean McBride sean at rogue-research.com
Wed Apr 11 15:46:03 EDT 2012


On Wed, 11 Apr 2012 13:40:39 -0600, David Gobbi said:

>The fix would probably be along the lines of:
>
>1)  In Rendering/Core/CMakeLists.txt,
>define a new file property WRAP_JAVA_OBJC:
>
>set_source_files_properties(
>  vtkRenderWindow.cxx
>  PROPERTIES WRAP_JAVA_OBJC 1
>)
>
>2) in CMake/vtkJavaWrapping.cmake,
>check whether WRAP_JAVA_OBJC is set for each source file,
>and if so add "-ObjC++" for the corresponding Java.cxx file.
>
>Alternatively, a special case for vtkRenderWindowJava.cxx could be
>hard-coded into vtkJavaWrapping.cmake, rather than defining a new
>property that only applies to a single file in all of VTK.

This file doesn't exist in git, it's created, right?

Is there no way to give the file a .mm extension instead of .cxx?

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list