[cmake-developers] [PATCH 2/2] Add test for generater expressions in test properties

Ben Boeckel ben.boeckel at kitware.com
Mon Mar 9 09:38:10 EDT 2015


On Sat, Mar 07, 2015 at 22:20:26 +0100, Gregor Jasny wrote:
> Suprisingly "new-style" tests support generater expressions
> also within all test properties. Add a test for that.

This patch isn't necessary. The docs mention that here:

    http://www.cmake.org/cmake/help/v3.0/command/add_test.html

and here:

    http://www.cmake.org/cmake/help/v3.0/command/set_tests_properties.html

> Generator expressions will be expanded the same as supported by the
> test’s add_test call.

Tests for both are here:

    https://github.com/Kitware/CMake/blob/master/Tests/GeneratorExpression/CMakeLists.txt

--Ben


More information about the cmake-developers mailing list