[CMake] Copying Required Runtime Libraris (MSVC 2003)

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Jul 12 13:13:09 EDT 2007


On 2007-07-12 12:15-0400 Mike Jackson wrote:

>
>
> On Jul 12, 2007, at 8:59 AM, Brandon Van Every wrote:
>
>> On 7/11/07, Mike Jackson <imikejackson at gmail.com> wrote:
>>> I was wondering if there is some magic command that I can use in cmake
>>> that will tell VS2003 to copy the c/c++ runtimes, and some Qt
>>> libraries when doing an "Install". I seem to remember something about
>>> INSTALL REQUIRED_LIBRARIES or something..
>>> 
>>> ParaView does this.. just can not figure out where ParaView's Cmake
>>> files are setting all this..
>> 
>> The CMake 2.4.6 docs are partly helpful; searching for words like
>> "install" is a good tactic.
>> 
>> #  InstallRequiredSystemLibraries:
>> 
>> Hack for Visual Studio support Search for system runtime libraries
>> based on the platform. This is not complete because it is used only
>> for the release process by the developers.
>> 
>> 
>> Cheers,
>> Brandon Van Every
>
> Docs.. Lets talk about that for a second.
>    The only place I found that command was if I did a 'cmake --help-html 
> /tmp/cmake.html' and then searched through the html file.

If you have access to the Linux/Unix "less" command, that has a powerful
searching ability for plain text.  Thus, I always use

cmake --help-full |less

to search the documentation.  In contrast, using a browser to search through
html results would be painful.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list