[cmake-developers] ninja generator does NOT use absolute paths at rules?

Brad King brad.king at kitware.com
Tue Jul 23 07:03:04 EDT 2019


On 7/22/19 4:47 PM, Claus Klein wrote:
> Than I realized , the ninja.rules files contains NO absolute paths
> to target source and header files.

Historically the Ninja ecosystem encourages use of relative paths.
There is an issue for this in CMake:

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

and fixing it correctly depends on fixing another issue in Ninja:

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

-Brad


More information about the cmake-developers mailing list