[Cmake] Line length in dsps
Geoffrey Cross
geoff at robots . ox . ac . uk
Thu, 17 Jan 2002 13:17:32 -0000
I see: it is only used in the EXE template and not the DLL template.
I know it's a hack, and I know it's not very nice, but basically if you
remove it Cmake will generate DSPs which are not read correctly by msdev
6 (not very useful, as that is the only reason to generate DSPs :).
G.
> -----Original Message-----
> From: Bill Hoffman [mailto:bill . hoffman at kitware . com]
> Sent: Thursday, January 17, 2002 12:54 PM
> To: Geoffrey Cross; cmake at public . kitware . com
> Subject: Re: [Cmake] Line length in dsps
>
>
> 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
>
>