• Sebastian Holtermann's avatar
    Autogen: Fix header detection for paths with symbolic links · 00e6b67e
    Sebastian Holtermann authored
    When Autogen searches the header for a source files in a target,
    the expanded real path is used and not the (possibly symbolic) original path
    of the source file.  If the source file path contains symbolic links, then the
    correct `cmSourceFile` instance of the header won't be found, but a new one
    will be generated.  This way all header source file properties get lost, which
    is problematic especially for the `SKIP_AUTOMOC/UIC/GEN` properties.
    
    This patch changes the header detection in Autogen to use the original source
    file path instead of the expanded real source file path.
    
    Fixes: #19346
    00e6b67e
Name
Last commit
Last update
.github Loading commit data...
Auxiliary Loading commit data...
Help Loading commit data...
Licenses Loading commit data...
Modules Loading commit data...
Packaging Loading commit data...
Source Loading commit data...
Templates Loading commit data...
Tests Loading commit data...
Utilities Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hooks-config Loading commit data...
CMakeCPack.cmake Loading commit data...
CMakeCPackOptions.cmake.in Loading commit data...
CMakeGraphVizOptions.cmake Loading commit data...
CMakeLists.txt Loading commit data...
CMakeLogo.gif Loading commit data...
CONTRIBUTING.rst Loading commit data...
CTestConfig.cmake Loading commit data...
CTestCustom.cmake.in Loading commit data...
CompileFlags.cmake Loading commit data...
Copyright.txt Loading commit data...
DartConfig.cmake Loading commit data...
README.rst Loading commit data...
bootstrap Loading commit data...
cmake_uninstall.cmake.in Loading commit data...
configure Loading commit data...
doxygen.config Loading commit data...