[PATCH][CMake] Add target to generate td file with all records

Chandler Carruth chandlerc at google.com
Thu May 29 18:56:46 PDT 2014


Seems fine. Do you want to sink this into the tablegen thing itself? Also,
a nice to have would be to prevent people from depending on this... not
sure how though.


On Thu, May 29, 2014 at 6:19 PM, Adam Nemet <anemet at apple.com> wrote:

> This is the cmake version of r208056 that was requested by James Molloy.
>  For
> now I only added X86 for the sake of the review.  I'll add the rest as
> obvious
> later.
>
> This is the closest I could get to the make version.  I didn't want
> td.expanded to be generate by default, so I added a new target for it.
>  Looks
> like that there is no way to simply have the file name match the rule with
> add_custom_target as in make (you'd need add_executable or add_library for
> that).
>
> Please let me know if this looks good.
>
> Thanks,
> Adam
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140529/c0392a12/attachment.html>


More information about the llvm-commits mailing list