Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94484

Adjust AUTOMOC to use depfiles when using the Xcode Makefile and MSBuild generators

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Build System: CMake

    Description

      Xcode and MSBuild depfile support for add_custom_command has landed for 3.21.0.
      Makefile depfile support landed in 3.20.0.

      https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6006
      https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6206
      https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5617

      We could now adjust upstream AUTOMOC to use depfiles instead of custom targets for the above mentioned generators when used in conjunction with Qt 5.15+.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes