<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>The LLVM documentation describes the recommended build process:</div><div><br></div><div><a href="http://llvm.org/docs/GettingStarted.html">http://llvm.org/docs/GettingStarted.html</a></div><div><br></div><div>Adding "-DLLVM_BUILD_EXAMPLES=On" enables building the example projects.</div><div><br></div><div>-Chris</div><div><br>On Aug 29, 2016, at 7:52 PM, GangRyung Uh <<a href="mailto:gangryunguh@gmail.com">gangryunguh@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Can you advise some recommendable build configuration?<div><br></div><div>Thanks,</div><div>Gang-Ryung</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 29, 2016 at 6:31 PM, Chris Bieneman <span dir="ltr"><<a href="mailto:beanz@apple.com" target="_blank">beanz@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A lot. The examples are not designed to be built in this way, and it is not advised. If you go down that path you are way off in uncharted territory, and shouldn’t expect much help.<br>
<br>
-Chris<br>
<span class=""><br>
> On Aug 28, 2016, at 8:13 PM, GangRyung Uh via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
><br>
> I try to understand cmake build configuration. As an example, I copied Kaleidoscope from llvm examples to some other directory (e.g., /tmp/Kaleidoscope). What change(s) that I need to make to "CMakkeLists.txt" in order to build Kaleidoscope from /tmp/Kaleidoscope?<br>
><br>
> Thank you.<br>
</span>> ______________________________<wbr>_________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br>
</blockquote></div><br></div>
</div></blockquote></body></html>