[Cmake] Trouble at'Mill
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Thu Sep 5 07:48:39 EDT 2002
With reference to my question a month or more ago...
----- Original Message -----
Sent: Sunday, August 04, 2002 2:24 PM
my projects which
TARGET_LINK_LIBRARIES( vtkCustom
vtkCommon
vtkGraphics
vtkImaging
vtkFiltering
vtkIO
vtkRendering
vtkHybrid
)
no longer have the libraries included as dependencies. When vtk is rebuilt, the projects are not relinked. Do I need to ADD_DEPENDENCY or something similar?
----- End Original Message -----
I realise now that each time the dll is rebuilt, a new .lib file is generated. Cmake does not relink unless the headers have changed (obvious dependency). The (same project built under the) IDE on the other hand, assumes the lib files are dependencies and although the dll interface may not have changed, it relinks with the lib "just to make sure".
Does anyone care?
JB
(I'm assuming no, but I thought I'd mention it anyway)
More information about the CMake
mailing list