[CMake] CMake Coverage broken with Ninja

Brad King brad.king at kitware.com
Tue Sep 5 07:31:36 EDT 2017


On 09/02/2017 03:14 AM, Gerhard Gappmeier wrote:
> This is quite annoying, inconsistent with Makefiles and was already
> reported once here: https://cmake.org/Bug/print_bug_page.php?bug_id=13894
> AFAIK this was never fixed.

Discussion of that issue is now here:

  https://gitlab.kitware.com/cmake/cmake/issues/13894

We made a serious attempt to fix it, but ran into a major problem
described here:

  https://gitlab.kitware.com/cmake/cmake/issues/13894#note_233789

Fixing it requires a feature in Ninja:

  https://github.com/ninja-build/ninja/issues/1251

I posted a proposal to their list about it but got no response:

  https://groups.google.com/forum/#!topic/ninja-build/yJvs7u0n2iA

---

One may use out-of-source builds to get absolute paths to the files
in the main source tree.

-Brad


More information about the CMake mailing list