[CMake] Copying Files on Windows

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Dec 12 13:32:20 EST 2006


Mike, the bottom line is cmake -E copy should just work on any platform, and
you may have found a bug in it for some MinGW variation and/or cmake
back-end generator.

So as not to get distracted by all the special details of your project,
I suggest you give a really simple example which anybody with access to
MinGW can replicate, and also give all the details for your MinGW platform.
For example, is it pure MinGW or MinGW/MSYS?  What version of cmake are
you using and what cmake back-end generator?

I don't have access to MinGW myself, but our PLplot cmake build system uses 
cmake -E copy, and our MinGW users have not reported any problems with it.

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 Yorick front-end to PLplot (yplot.sf.net); 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