1. 01 Aug, 2017 1 commit
    • Sebastian Holtermann's avatar
      Autogen: Add AUTOMOC test for target dependencies forwarding · a3a62fcc
      Sebastian Holtermann authored
      Adds an AUTOMOC test that tests if dependencies from add_dependencies()
      of an ORIGIN target are forwarded to the ORIGIN_autogen target.
      
      Also fixes the AUTOMOC test that tests if dependencies from
      target_link_libraries() of an ORIGIN target are forwarded to the
      ORIGIN_autogen target. The test now fails in the ORIGIN_autogen build
      if SimpleLib wasn't built before.
      a3a62fcc
  2. 21 Jul, 2017 1 commit
  3. 20 Jul, 2017 1 commit
  4. 18 Jul, 2017 1 commit
    • Sebastian Holtermann's avatar
      Autogen: Process GENERATED files. Add CMP0071. · dca5df16
      Sebastian Holtermann authored
      This lets AUTOMOC and AUTOUIC process GENERATED files which
      used to be ignored before.
      A new policy CMP0071 ensures that the old behavior of ignoring
      GENERATED files is enabled when the CMake compatibility version
      CMAKE_MINIMUM_REQUIRED is < 3.10.
      
      Closes #16186
      dca5df16
  5. 07 Jul, 2017 1 commit
    • 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
  6. 20 Jun, 2017 1 commit
  7. 13 Jun, 2017 1 commit
  8. 12 Jun, 2017 1 commit
  9. 30 May, 2017 1 commit
    • Brad King's avatar
      Tests: Fix Qt5Autogen test on Xcode · f34f7815
      Brad King authored
      Fix the `mocPlugin` project to provide `mocPlugin.xcodeproj` instead of
      `Project.xcodeproj` so that the `try_compile` project name matches.
      Also search in the `Debug` subdirectory of the `try_compile` build tree
      for the resulting binaries, to work with multi-config generators.
      f34f7815
  10. 23 Mar, 2017 1 commit
  11. 06 Mar, 2017 6 commits
  12. 02 Mar, 2017 1 commit
  13. 26 Feb, 2017 1 commit
  14. 22 Feb, 2017 1 commit
  15. 21 Feb, 2017 5 commits
  16. 10 Jan, 2017 3 commits
  17. 07 Dec, 2016 3 commits
  18. 29 Nov, 2016 7 commits
  19. 30 Sep, 2016 1 commit
  20. 27 Sep, 2016 1 commit
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
      86578ecc
  21. 10 Aug, 2016 1 commit