Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77376 CMake Port: Upstream CMake issues
  3. QTBUG-77382

Add depfile support for CMake generators other than Ninja

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Build System

      Description

      add_custom_command() calls allow to set up preprocessing of qml files via some external tool, where the tool provides a depfile result as a result of its execution, and thus CMake will know when to rerun the tool in case any of the files in the depfile have been changed.

      But depfile support for add_custom_command is only supported for the Ninja generator.

      Having the support in Xcode / Makefiles / MSBuild would allow proper dependency tracking in a cross-generator case, and thus making sure builds are rebuilt successfully regardless of the generator that application developer uses.

        Attachments

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

          Activity

            People

            • Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              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