Note, header dependencies are updated since r201842^.
Details
Diff Detail
Event Timeline
Do you update these dependencies by hand or do you have a script or some other automation tool? If you have a script, it would be great if you committed it.
This looks good to me, but I'd like Rafael to take a look as well and see if this is the direction he was thinking too.
Dmitri, header deps were made by hand and by copying from build.ninja generated by my another patch, "tddeps".
This will always use INTERFACE. The current setup has logic for
deciding between INTERFACE, PUBLIC and PRIVATE. Wont this produce the
wrong result when doing shared builds?
What I had in mind was defining a LLVM_LINK_TYPE that is INTERFACE,
PUBLIC or PRIVATE depending on the build type. Is that possible?
I was looking at AddLLVM.cmake, but I don't quite understand it. For
example, where is ARG_MODULE set?
Cheers,
Rafael