[cfe-commits] r137107 - /cfe/trunk/tools/CMakeLists.txt

Douglas Gregor dgregor at apple.com
Tue Aug 9 07:41:37 PDT 2011


On Aug 9, 2011, at 7:36 AM, Ted Kremenek wrote:

> Thanks Doug.  That wasn't at all clear from looking at this file.  It just looked like a jumble of entries.  Sorting it made it clear to me what was actually being included in the build.  I'm fine with changing it back.
> 
> Out of curiosity, does changing the order here functionally make any difference?  Doesn't the dependency analysis ultimately determine the order in which things are built?


Dependency analysis does. However, the CMakeLists.txt files are included in source order, so if we were to set some variables as a side effect of declaring "libclang" that were somehow used to declare "c-index-test", the order would matter.

	- Doug



More information about the cfe-commits mailing list