This support "DEPENDS" and "EXTRA_INCLUDES", allowing in particular
to inject include paths to a tablegen targets without forcing to go
through the global INCLUDE_DIRECTORIES property.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks!
llvm/cmake/modules/TableGen.cmake | ||
---|---|---|
95 | Can be for a followup, but I have found this transform to be fragile when empty items are present (the resultant error is quite bad since the "-I" eats the next argument, which then causes it to think the following argument is a source file). It was possible to have this happen before, but now that it is "user serviceable", we should be more defensive. Can you add (before the TRANSFORM ... PREPEND): list(REMOTE_ITEM tblgen_includes "") |
Can be for a followup, but I have found this transform to be fragile when empty items are present (the resultant error is quite bad since the "-I" eats the next argument, which then causes it to think the following argument is a source file). It was possible to have this happen before, but now that it is "user serviceable", we should be more defensive.
Can you add (before the TRANSFORM ... PREPEND):