[cmake-developers] Build failure due to {cd bindir} failed on Windows/Ninja
Ben Boeckel
ben.boeckel at kitware.com
Fri Dec 29 10:02:23 EST 2017
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 build tree and absolute for
anything outside of it.
> (3) CMake changes tries to change it's working directory here:
> https://github.com/Kitware/CMake/blob/08ce62bee5bee6805fbb01c1821c43
> 8028e858dc/Source/cmGlobalGenerator.cxx#L1811
What would cause `ChangeDirectory` to fail? Is there some non-ASCII in
the directory path?
--Ben
More information about the cmake-developers
mailing list