bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dependencies from moc (was Re: Tail call elimination)


From: Edward Welbourne
Subject: Dependencies from moc (was Re: Tail call elimination)
Date: Tue, 12 May 2020 08:15:36 +0000

Daniel Herring (11 May 2020 21:46) wrote, inter alia,
> For example, when a code generator like Qt's moc or uic is run, it
> could also generate a rule update that causes Make to compile and link
> the results.

For reference, Qt6's moc (the Qt project's current dev branch) supports
dependency generation:

    .../path/to/moc --output-dep-file ../function-with-attributes.h -o test.moc 

creates test.moc as generated source and test.moc.d containing the line

    test.moc: ../function-with-attributes.h

there's also --dep-file-path and --dep-file-rule-name to control the
output path and the rule name

        Eddy.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]