[cmake-developers] CMake 3.1 regression with incremental builds ?
Ben Boeckel
ben.boeckel at kitware.com
Fri Nov 7 11:43:47 EST 2014
On Fri, Nov 07, 2014 at 09:51:39 -0500, Brad King wrote:
> On Thu, Nov 6, 2014 at 11:09 PM, Clinton Stimpson wrote:
> > isn't the GetOrCreateSourceFile call superfluous if you have a
> > pointer to the source file object in the iterator...?
>
> IIUC that is to create a cmSourceFile entry for the object file
> corresponding to the source file. They are different entries.
Do we know the source file doesn't exist at this point? If so,
CreateSourceFile would be better.
--Ben
More information about the cmake-developers
mailing list