[cmake-developers] Expression unit test

Peter Kümmel syntheticpp at gmx.net
Fri Oct 5 06:33:57 EDT 2012

A unit tests for expressions is broken for ninja:


ninja prints the wrong parameter as it is used in the cmake file,


but the test wants the $ escaped one:

   Expected stderr to match:
    expect-err>     \$<TARGET_PROPERTY:Invali/dTarget,INCLUDE_DIRECTORIES>

   Actual stderr:
    actual-err>     $<TARGET_PROPERTY:Invali/dTarget,INCLUDE_DIRECTORIES>

Is this a bug in the test (and the other generators) or in the ninja generator?


More information about the cmake-developers mailing list