[cmake-developers] Extracting target metadata, IDE integration

Alexander Neundorf neundorf at kde.org
Sat Mar 14 15:27:55 EDT 2015


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



More information about the cmake-developers mailing list