[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:

http://open.cdash.org/testDetails.php?test=161505814&build=2596684


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

     include_directories("$<TARGET_PROPERTY:Invali/dTarget,INCLUDE_DIRECTORIES>")

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?

Peter



More information about the cmake-developers mailing list