<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Just a bit more info on this.  It adds an expand-<td-file-name> target which then generates <td-file-name>.expanded.<div><br></div><div>I wasn’t able to get away with the expand-td target as before because targets have to be globally unique in cmake.</div><div><br></div><div>Adam</div><div><div><br><div><div>On May 30, 2014, at 12:59 AM, Adam Nemet <<a href="mailto:anemet@apple.com">anemet@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Thanks for taking a look.  Is this more or less of what you had in mind?</div><div><br></div><div>Adam</div><div><span class="Apple-tab-span" style="white-space:pre">     </span><br><div><div>On May 29, 2014, at 6:56 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">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.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 29, 2014 at 6:19 PM, Adam Nemet <span dir="ltr"><<a href="mailto:anemet@apple.com" target="_blank">anemet@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;">
This is the cmake version of r208056 that was requested by James Molloy.  For<br>
now I only added X86 for the sake of the review.  I'll add the rest as obvious<br>
later.<br>
<br>
This is the closest I could get to the make version.  I didn't want<br>
td.expanded to be generate by default, so I added a new target for it.  Looks<br>
like that there is no way to simply have the file name match the rule with<br>
add_custom_target as in make (you'd need add_executable or add_library for<br>
that).<br>
<br>
Please let me know if this looks good.<br>
<br>
Thanks,<br>
Adam<br>
<br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div>
</blockquote></div></div></div></body></html>