On 11/14/2010 5:00 AM, Eric Noulard wrote:

There has been some discussion on the list about improvement
of the dependency scanner, this kind of idea may be examined there.
May be it's worth filing a feature request on this subject.


I have not followed this too closely. However, I thought might add a few things. To date CMake does NOT run the dependency program at CMake time, but rather at build time. In addition for the VS IDE it is NEVER run, as VS does its own dependency scanning. So, it would be a big change for CMake to do this at CMake time. My fear would be that it would be VERY slow. If this is to handle 5000 header files, I am guessing the VS IDE would choke on loading them anyway. For most C++ projects I working on there is a one to one mapping between C++ classes in .cxx and class definitions in .h files. So, you usually add the .h when you add the .cxx, your you could even have a macro that adds both automatically. However, a scanner that auto-adds the .h files seems a bit heavy handed, and would have serious performance issues.


-Bill
_______________________________________________
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

Reply via email to