[CMake] Parallel builds do not work correctly when using
"cmake -E copy" to copy files
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Wed Feb 6 23:29:04 EST 2008
On 2008-02-06 22:37-0500 Bill Hoffman wrote:
> Alan W. Irwin wrote:
> No file level depends are done mostly a build time. This is a performance
> issue. Some generators like VS IDE do file level depends by themselves.
> With the makefiles cmake computes the depends, but at build time not cmake
> time. The custom command stuff output input is known at cmake time, and
> maybe enough for what you want.
Probably, since it is usually there where the build-system developer makes
mistakes in the dependencies.
> But if you have a file foo.c with #include
> <foo.h>, cmake does not know that foo.c depends on foo.h until build time.
Right, but hopefully those automatically generated depends would be ok.
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