Skip to content
  • Brad King's avatar
    Autogen: Skip generated files for compatibility with CMake 3.8 · 9a34e95a
    Brad King authored
    The change in commit v3.9.0-rc1~464^2~8 (Autogen: Add AUTOMOC/UIC
    support for generated source files, 2017-03-02) changes behavior of
    existing projects that may not expect `AUTOGEN` on generated files and
    do not yet set `SKIP_AUTOGEN` on them.  Disable the behavior change for
    now to fix the regression for CMake 3.9.  We can restore it later with a
    policy.
    
    In order to keep the implementation and tests working, add an
    undocumented property we can use in the tests to enable the behavior
    before the policy is introduced.
    
    Fixes: #17031
    Issue: #16186
    9a34e95a