summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/interface_library/target_commands-result.txt
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-01-10 14:17:02 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-01-10 18:46:22 (GMT)
commitd592bfc9f5f616249d85bbea94d8e76a666591a8 (patch)
tree93dd1ff156659bf2b185ac941f76a220b88bcdd8 /Tests/RunCMake/interface_library/target_commands-result.txt
parent166bf4c490b8f46eca057fc23c3f3c2e042e9cb3 (diff)
downloadCMake-d592bfc9f5f616249d85bbea94d8e76a666591a8.zip
CMake-d592bfc9f5f616249d85bbea94d8e76a666591a8.tar.gz
CMake-d592bfc9f5f616249d85bbea94d8e76a666591a8.tar.bz2
Autogen: Ignore not existing source files in cmMakefile
Until CMake 3.10 a list of source files that had the AUTOUIC_OPTIONS property populated was kept in `cmMakefile::QtUiFilesWithOptions`. In the process to remove all AUTOUIC related code from `cmMakefile` for CMake 3.10, the pre filtered list was replaced by a loop in `cmQtAutoGeneratorInitializer` over all source files in the `cmMakefile`. This loop introduced the problem that file paths were computed for source files that weren't in the target's sources and that might not even have existed. If the path for an unused and not existing file was computed a `cmake::FATAL_ERROR` with the error message "Cannot find source file:" was thrown nevertheless. This caused some projects to fail in CMake 3.10. This patch adds a test for path errors in the loops in `cmQtAutoGeneratorInitializer` that iterate over all source files in a `cmMakefile`. If a path error appears, the file is silently ignored. If the file is part of the target's sources, the path error will still be caught in the loop over all the target's sources. This is the fix for CMake 3.10.1.
Diffstat (limited to 'Tests/RunCMake/interface_library/target_commands-result.txt')
0 files changed, 0 insertions, 0 deletions