I am also sometimes surprised by the radius of needed re-compilation in my complex project... I think CMake tries to be on the safe side and just regenerates everything that might have been affected. One such example will be recompilation of large project parts if you modified some variables in the root CMakeLists.txt. On the other hand, you may have twisted dependencies in your project that you may want to clean up and separate.
Dominik On Tue, Feb 15, 2011 at 10:05 PM, Carminati Federico <[email protected]> wrote: > Hello, > 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, > > Federico Carminati > CERN-PH > 1211 Geneva 23 > Switzerland > Tel: +41 22 76 74959 > Fax: +41 22 76 68505 > Mobile: +41 76 487 4843 > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
