CMake: Add a RunCMake test for qt_make_output_file
qt_make_output_file() maps an input file name into the binary dir,
preserving relative directories. The only coverage was in
cmake/tests/qt_make_output_file, which has not been runnable for a
long time.
Port its assertions and add a case for a plain subdirectory, which is
the function's main purpose and was not covered.
Change-Id: Icd2790e3a4aae719e4a9c4f29afc042f2d056999
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| commit | a7281384a8500258cd07d0596cadab85e0c61066 |
| parent | 6c66dc12cbd418c99c1684a7c70d2d07e268157a |
| author | Joerg Bornemann <joerg.bornemann@qt.io> |
| committer | Joerg Bornemann <joerg.bornemann@qt.io> |
| commit time | Wed, 21 Oct 2026 15:32:13 +0000 |