[Cmake] Line length in dsps

Bill Hoffman bill.hoffman at kitware.com
Thu Jan 17 07:53:56 EST 2002


When does this happen?

Your patch was this stuff:

CM_MULTILINE_DEBUG_LIBRARIES
CM_MULTILINE_LIBRARIES

And, it is still there.   I almost removed it, because if you use the multi-line format
for dsp files, they can not be converted by the new .NET stuff, but I left it in there.


For example, from a vtk executable dsp file:

# ADD LINK32 /LIBPATH:"C:/Hoffman/vtknew-vc/bin/$(INTDIR)"  /LIBPATH:"C:/Hoffma
/vtknew-vc/bin/"
# ADD LINK32 /LIBPATH:"C:/Hoffman/vtknew-vc/bin/$(INTDIR)"  /LIBPATH:"C:/Hoffma
/vtknew-vc/bin/"
# ADD LINK32 vtkCommon.lib
# ADD LINK32 vtkFiltering.lib
# ADD LINK32 vtkGraphics.lib
# ADD LINK32 vtkRendering.lib
# ADD LINK32 opengl32.lib
# ADD LINK32 vtkImaging.lib
# ADD LINK32 vtkGraphics.lib
# ADD LINK32 vtkIO.lib
# ADD LINK32 vtkFiltering.lib
# ADD LINK32 vtkCommon.lib
# ADD LINK32 vtkpng.lib
# ADD LINK32 vtkzlib.lib
# ADD LINK32 vtkjpeg.lib
# ADD LINK32 /STACK:10000000



At 11:31 AM 1/17/2002 +0000, Geoffrey Cross wrote:

>I've got a vague feeling that I reported this issue and fixed it in some
>version of Cmake a long time ago, but it seems to have reappeared:
>
>Msdev version 6 can not handle dsps with lines longer than x characters
>(not exactly sure how big the limit is, but it is finite).  When this
>occurs, the lines just get truncated randomly.  Lines such as ADD LINK32
>are typically rather long, but they can be spread over a number of lines
>with little performance loss when loading the dsps into msdev.  
>
>Unless there is some other fix that I don't know about, PLEASE can
>someone put my patch back in to Cmake?
>
>Geoff. 
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 




More information about the CMake mailing list