Details
-
User Story
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
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
Issue Links
- resulted in
-
QTBUG-94483 Use depfiles in add_custom_command with MSVC and Xcode when available
- Reported
-
QTBUG-94484 Adjust AUTOMOC to use depfiles when using the Xcode Makefile and MSBuild generators
- Reported