[CMake] Naive (stupid?) question

Carminati Federico Federico.Carminati at cern.ch
Thu Feb 17 08:37:37 EST 2011


Thanks John,
  Indeed there is one and this is certainly part of the problem. We also found out that using "configure_file" to copy files can generate large rebuild of the entire makefile structure. We will have to look into this. Best regards, 

Federico Carminati
CERN-PH 
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 68505
Mobile: +41 76 487 4843



On 17 Feb 2011, at 14:05, John Drescher wrote:

>>    apologies for the stupid question. I have a large project and at times a change triggers unexpected consequences, i.e. very large recompilations, rebuild of the cmake makefiles and so on. Is there a way in cmake to understand why things happens? I mean which chain of dependencies causes a given action to be taken? It would be for me very interesting to understand something more about the dependencies in my project, to be able to reduce them. Thanks and best regards,
>> 
> Are you generating header files in CMake? If so these change on every
> invocation of CMake? And is a lot of your project dependent on these
> header files?
> 
> John



More information about the CMake mailing list