[Cmake] Link Lib Bug?
John Biddiscombe
jbiddiscombe at skippingmouse . co . uk
Wed, 06 Jun 2001 21:29:10 +0100
>The TARGET_LINK_LIBRARIES command can be used to add libraries to
>only one target.
Ummm.. Does that imply that there is something amiss with the tcl wrapping.
The tcl/tk libraries are linked to all targets and shouldn't be. Should I
try to find where this happens and change it?
JB
>At 08:26 AM 6/2/2001 +0100, John Biddiscombe wrote:
> >The Library commands in cmake appear to be a bit unselective. I'm
> dumping out the lib linked to by each target...
> >
> >example
> >
> >Mace_LINK_LIB = \
> > C:/PROGRA~1/Tcl/bin/tcl83.lib \
> > opengl32 \
> > C:/Program Files/Tcl/lib/tk82.lib \
> > vtkCommon \
> > vtkFiltering \
> > vtkImaging \
> > vtkGraphics \
> > vtkRendering
> >
> >vtkRendering_LINK_DIR = \
> > C:/PROGRA~1/Tcl/bin/tcl83.lib \
> > opengl32 \
> > C:/Program Files/Tcl/lib/tk82.lib \
> > vtkCommon \
> > vtkFiltering \
> > vtkImaging \
> > vtkGraphics
> >
> >Mace and Rendering are linking to tcl and tk when these are selected.
> This is wrong. How do I stop this? (Only the Rendering_TCL should be
> doing this).
> >
> >[Should the ADD_LIBRARY(stuff) command have the target(s) specified?]
> >
> >[NB. I may be doing something wrong, in which case please correct me!]
> >
> >thanks
> >
> >JB
> >
> >_______________________________________________
> >Cmake mailing list
> >Cmake at public . kitware . com
> >http://public . kitware . com/mailman/listinfo/cmake
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public . kitware . com
>http://public . kitware . com/mailman/listinfo/cmake