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

Use depfiles in add_custom_command with MSVC and Xcode when available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.0
    • Build System: CMake
    • None

    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 try to leverage these in our add_custom_command calls that would impact user projects.

      A non-exhaustive list of functions we might want to augment with depfile support are:

      qt6_qml_type_registration
      

      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:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes