Tests: Cover genex behavior in CROSSCOMPILING_EMULATOR test case
A `$<TARGET_FILE:tgt>` generator expression does not cause insertion of the emulator. Add a test covering this. While at it, extend the test case to cover executables in a subdirectory. Also make the test matching expressions more robust to support multiple add_test calls without mixing them while matching.
Showing
- Tests/RunCMake/CrosscompilingEmulator/AddTest-check.cmake 20 additions, 4 deletionsTests/RunCMake/CrosscompilingEmulator/AddTest-check.cmake
- Tests/RunCMake/CrosscompilingEmulator/AddTest.cmake 12 additions, 0 deletionsTests/RunCMake/CrosscompilingEmulator/AddTest.cmake
- Tests/RunCMake/CrosscompilingEmulator/AddTest/CMakeLists.txt 3 additions, 0 deletionsTests/RunCMake/CrosscompilingEmulator/AddTest/CMakeLists.txt
Please register or sign in to comment