[Cmake] Possible bug in CMake when vtk java wrapping

John Biddiscombe John Biddiscombe" <jbiddiscombe@skippingmouse.co.uk
Sun, 4 May 2003 01:32:06 +0100


When compiling Java wrappers for vtk, my Borland makefile contains the entry
for Java Archive (see bottom of email)...but all the dependencies are listed
with no line breaks - my editor only displays the first 16,000 characters
before complaining, so I'm not sure how many there are. Can the line be
broken up? The make fails.

[Actually, the make fails before it gets here because it complains about
rule being too long for
VTKJavaJar:  \
D:\CMakebuild\vtkDebug\java\vtk\vtkPanel.java \
D:\CMakebuild\vtkDebug\java\vtk\vtkPanel.java \
D:\CMakebuild\vtkDebug\java\vtk\vtkPanel.java \
D:\CMakebuild\vtkDebug\java\vtk\vtkPanel.java \
D:\CMakebuild\vtkDebug\java\vtk\vtkAbstractMapper.class \
D:\CMakebuild\vtkDebug\java\vtk\vtkAbstractTransform.class \
....etc etc for several hundred lines
Note also the duplicated entries for vtkPanel. I'm not sure if this rule is
really too long or if make is being knackered by the later problem of a very
very long line below..
]


#---------------------------------------------------------
# Java Archive
#

D:\cmakebuild\vtkDebug\bin\vtk.jar:
D:\CMakebuild\vtkDebug\java\vtk\vtkObject.class
D:\CMakebuild\vtkDebug\java\vtk\vtk3DSImporter.class
D:\CMakebuild\vtkDebug\java\vtk\vtk3DWidget.class
D:\CMakebuild\vtkDebug\java\vtk\vtkAbstractMapper.class
D:\CMakebuild\vtkDebug\java\vtk\vtkAbstractMapper3D.class
D:\CMakebuild\vtkDebug\java\vtk\vtkAbstractPicker.class
D:\CMakebuild\vtkDebug\java\vtk\vtkAbstractPropPicker.class
....and on for 16,000 more characters