> But the actual information in depfiles doesn't require the full Makefile syntax; only a subset of it.
That seems to be the problem, the information introduced for the module support[1] apparently cannot be handled with just the dependency lists alone and the changes suggested in the ticket would still leave the additional CXX_IMPORTS += M1.c++m syntax. One of the commenters on the ticket also wrote a specification for a json based dependency format[2].
That seems to be the problem, the information introduced for the module support[1] apparently cannot be handled with just the dependency lists alone and the changes suggested in the ticket would still leave the additional CXX_IMPORTS += M1.c++m syntax. One of the commenters on the ticket also wrote a specification for a json based dependency format[2].
[1]https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p16...
[2]https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p16...