Re: [cmake-developers] Build failure due to {cd bindir} failed on Windows/Ninja

2018-01-01 Thread Ben Boeckel
On Fri, Dec 29, 2017 at 13:32:54 -0800, Jom O'Fisher wrote: > >> Ninja should be using relative paths for the build tree and absolute > for anything outside of it. > That appears to be the case, so I need a better theory. I noticed another > difference between compilation phase and link phase. The

Re: [cmake-developers] Build failure due to {cd bindir} failed on Windows/Ninja

2017-12-29 Thread Jom O'Fisher
>> Ninja should be using relative paths for the build tree and absolute for anything outside of it. That appears to be the case, so I need a better theory. I noticed another difference between compilation phase and link phase. The link phase is bracketed by cmd.exe /C "cd . && && cd .". I'm wonder

Re: [cmake-developers] Build failure due to {cd bindir} failed on Windows/Ninja

2017-12-29 Thread Ben Boeckel
On Thu, Dec 28, 2017 at 12:51:20 -0800, Jom O'Fisher wrote: > (1) Invoke cmake to generate ninja project. Success. > * Note that generated rules.ninja has .o compilation dependencies with > absolute paths and .so link dependencies with relative paths. Ninja should be using relative paths for the b

Re: [cmake-developers] Build failure due to {cd bindir} failed on Windows/Ninja

2017-12-28 Thread Jom O'Fisher
I may have sent this on the wrong dl. I'm trying cm...@cmake.org On Thu, Dec 28, 2017 at 12:44 PM, Jom O'Fisher wrote: > I have an issue that's really difficult to track down because it only > seems to repro on certain machines which don't have access to. > > The sequence of events seems to be:

[cmake-developers] Build failure due to {cd bindir} failed on Windows/Ninja

2017-12-28 Thread Jom O'Fisher
I have an issue that's really difficult to track down because it only seems to repro on certain machines which don't have access to. The sequence of events seems to be: (1) Invoke cmake to generate ninja project. Success. * Note that generated rules.ninja has .o compilation dependencies with absol