[cmake-developers] Extracting target metadata, IDE integration

Alexander Neundorf neundorf at kde.org
Mon Mar 23 16:15:53 EDT 2015


On Sunday, March 15, 2015 18:00:25 Nils Gladitz wrote:
> On 15.03.2015 16:42, Tobias Hunger wrote:
> > Hi Peter,
> > 
> > CMake does know all the headers or it could not decide which files
> > need rebuilding.
> 
> The build system that CMake generates knows the header dependencies and
> decides when which files need rebuilding.
> CMake itself doesn't know. How header dependencies are determined and
> where and how they are recorded is generator specific.

I have spent enough time on this code, so:
<nitpicking>
for the makefile-generators, the header dependencies are generated by cmake 
(not at cmake time, but at build time), which results in the depend.make file.
</nitpicking>

Alex



More information about the cmake-developers mailing list