[vtkusers] Re: [Cmake] (no subject)

Bill Hoffman bill.hoffman at kitware.com
Fri May 30 13:26:53 EDT 2003


Leave off the .dll, and make sure there is a mipdll.lib in ${MIPDIR}/win32/bin because
you can not link to a .dll, but you need the .lib file for the .dll.

-Bill


At 11:13 AM 5/30/2003, vanessa.noguesruiz at epfl.ch wrote:

>Hi everybody.
>Does anybody know how may I include a .dll file in a CMakeLists.txt file? I use 
>the formula:
>
>
>LINK_DIRECTORIES (
>  ${VTKDIR}/bin
>  ${MIPDIR}/win32/bin
>)
>
>TARGET_LINK_LIBRARIES(
>  rigid_nonrigid
>  vtkCommon
>  vtkImaging
>  vtkIO
>  vtkFiltering
>  vtkGraphics
>  vtkRendering
>  mipdll.dll
>)
>
>mipdll.dll is located in ${MIPDIR}/win32/bin
>
>Thanks a lot.
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 






More information about the vtkusers mailing list