CMake/Tests/GeneratorExpression
Ben Boeckel d331292c12 cmTestGenerator: Evaluate generator expressions in test properties
This is useful for cases like:

  add_test(NAME mytest COMMAND mydriver $<TARGET_FILE:myexe>)
  set_tests_properties(mytest PROPERTIES
    REQUIRED_FILES "$<TARGET_FILE:myexe>"
    WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIGURATION>"
    )

In this example we require the actual test executable to exist to
run the test in addition to the test driver at argv[0].  Also the
$<CONFIGURATION> expression improves over \${CTEST_CONFIGURATION_TYPE}
because the latter is not normalized for case-sensitive filesystems.
2013-09-20 08:18:22 -04:00
..
CMakeLists.txt cmTestGenerator: Evaluate generator expressions in test properties 2013-09-20 08:18:22 -04:00
check-common.cmake GenEx: Add expressions to specify build- or install-only values 2013-01-05 01:05:08 +01:00
check-part1.cmake Add $<SEMICOLON> generator expression. 2013-03-12 16:46:03 -04:00
check-part2.cmake Split the GeneratorExpression test into a third part. 2013-06-28 14:58:09 +02:00
check-part3.cmake Genex: Fix segfault when parsing ends with parameter expectation. 2013-08-13 13:58:39 +02:00
echo.c cmTestGenerator: Evaluate generator expressions in test properties 2013-09-20 08:18:22 -04:00
empty.cpp Add the ALIAS target concept for libraries and executables. 2013-08-02 15:21:00 +02:00
pwd.c cmTestGenerator: Evaluate generator expressions in test properties 2013-09-20 08:18:22 -04:00