pcc/CMake — comment on commit 53115edcc4f912a1035c1fea85040e5159a3439a
File:  line 0
By polrop:

On Sun, Oct 2, 2011 at 9:18 PM, pcc

wrote:
> On Thu, Sep 29, 2011 at 01:29:26AM -0700, Nicolas Despres wrote:
>> Maybe I am wrong but I remember that CMake's authors decided to use absolute paths everywhere for I don't remember which reason.
>
> Whatever the issue was, it shouldn't affect Ninja, which will always
> have HOME_OUTPUT as the current working directory.
>
> Besides, as I alluded to in the commit message, we must use relative
> paths here, so that depfiles contain relative paths. Otherwise Ninja
> will not recognise absolute paths in depfiles and relative paths in
> the build.ninja file as being the same.
>

Right.

--
Nicolas Desprès