On Saturday, March 14, 2015 09:40:41 Peter Kümmel wrote: > On 12.03.2015 16:24, Tobias Hunger wrote: > > A list of *all* headers used during the building of the target would > > be fine. There is no need to filter that list down in any way. > > > > CMake has that information: Without it cmake could not possibly know > > when a cpp file needs rebuilding. It would not be as successful a > > build system when it did not know that:-) > > Even cmake does not know all headers need for compilation, this is done > by the compiler providing the dependency files.
the cmake dependency scanning does find all (and potentially some more) used headers, see depend.internal in the CMakeFiles/ tree. Alex -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers