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

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

XMLWordPrintable

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

      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+.

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

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

              Created:
              Updated:

                There are no open Gerrit changes