CMake project reloading.

David Nolden zwabel at googlemail.com
Wed Feb 3 10:58:38 UTC 2010


Am Mittwoch 03 Februar 2010 11:24:11 schrieb Andreas Pakulat:
> I never was fond of that reload method, IMHO the project managers should be
> able to better keep track of things. So if a file X is deleted and removed
> from the cmakelists.txt, they wouldn't just drop the whole folder from the
> model. Instead they'd parse the updated file and generate some kind of
> "difference" between the old and the new state and apply the necessary
> deletions/additions of subitems only. Yes this is more complex than a
> complete reload, but its (IMHO) also the "right way" to do it.

Speaking from my experience, the "right way" is usually the "most simple" way, 
the one that creates the lowest amount of additional complex and potentially 
buggy code-paths.




More information about the KDevelop-devel mailing list