[CMake] incremental build slow because of F90 (cmake_copy_f90_mod)

Brad King brad.king at kitware.com
Mon Jul 12 13:48:33 EDT 2010


On 07/12/2010 01:23 PM, Verweij, Arjen wrote:
> Cmake_copy_f90_mod gets called every time I type make for (as far as
> can tell) every F90 file that provides a module. So for instance I
> change a comment in my main.f, the compile and linktime for the
> executable (4000 ish files) NOT including the time spent in the F90
> portion of the tree is <5 seconds, but the F90 part takes a minute.
> 
> I don't see any recompiling going on for the F90 part.
> Does cmake_copy_f90_mod get called even if you don't have to compile
> any F90 files?

It's not *supposed* to do that.  Can you produce a minimal project
that reproduces that behavior?

-Brad


More information about the CMake mailing list