[CMake] Missing MS C/C++ Runtime Libs

Bill Hoffman bill.hoffman at kitware.com
Mon May 14 17:30:12 EDT 2007


Mike Jackson wrote:
> I recently started using VS 2005 Professional (up from VS 2003 .Net)
> and when I compile ParaView (2.4.4) using the "INSTALL" project from
> within the VS 2005 solution file everything seems to build and does
> get copied to the install location but I noticed that the MS C and C++
> runtime libs are no longer copied into the intsall location. Is this a
> bug somewhere? Has anyone else noticed this? I used to be able to
> right click on the "INSTALL" project, let it run to completion, then
> simply copy the Paraview 2.4.4 folder onto a  server for other people
> to use. Now I am not sure what else needs to be copied.
>
> Thanks
>
It is not so simple anymore.   You can not just copy those libraries 
anymore.
CPack provides a file that will do the right thing:

  INCLUDE(InstallRequiredSystemLibraries)

One note, only release builds can be easily moved from machine to machine.

-Bill



More information about the CMake mailing list