1. 18 Aug, 2020 1 commit
  2. 12 Aug, 2020 4 commits
  3. 11 Aug, 2020 7 commits
  4. 10 Aug, 2020 12 commits
  5. 07 Aug, 2020 7 commits
  6. 06 Aug, 2020 4 commits
  7. 05 Aug, 2020 3 commits
  8. 03 Aug, 2020 2 commits
    • alcroito's avatar
      AutoGen: Add test to check for correct AutoMoc dependencies · 7445c9a5
      alcroito authored
      When using Qt 5.15.0 or above together with Ninja, check that touching
      a source file of a dependency does not needlessly re-run AUTOMOC for
      the dependee target.
      7445c9a5
    • alcroito's avatar
      AutoGen: Fix over-specified direct dependencies of custom command · a79056bb
      alcroito authored
      The AutoMoc timestamp creating custom command explicitly depended
      on all dependencies of the origin target (associated to the AutoGen
      target).
      
      When an origin target depended on a shared library 'libfoo.so',
      if it was re-linked, the AutoMoc custom command would touch its
      output timestamp file, and thus cause needless rebuilding of sources,
      despite the shared library not having any influence on the AutoMoc
      generated files.
      
      Introduce a new '<target>_autogen_timestamp_deps' utility target,
      which will serve as an 'order-only' dependency for the custom command.
      
      This will prevent needless rebuilding, because touching 'libfoo.so'
      will not cause the custom command to be re-executed.
      
      The new AutoMoc dependency tree looks like:
          '_autogen_timestamp_deps (serves as order-only dep)'
       <- '<target_autogen>/timestamp' file ( + moc deps file)
       <- '<target>_autogen' target.
      
      Fixes: #21020
      a79056bb