<div dir="ltr">Hi Jonathan,<div><br></div><div>We don't have any clangd-specific extensions to the buildsystem used by LLVM, the CMakeLists.txt inside clangd directories merely list the libraries and binaries we need to build.<br></div><div>I don't think any of clangd developers ever tried building it for WebAssembly, so we're probably not of much help here.</div><div><br></div><div>You might have better luck asking on the LLVM and clang mailing lists (llvm-dev and cfe-dev, respectively). If anyone successfully built clang for WebAssembly, building clangd the same way should probably work.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 24, 2019 at 8:11 PM Jonathan Beri via clangd-dev <<a href="mailto:clangd-dev@lists.llvm.org">clangd-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>As a learning exercise I am trying to compile clangd as a WebAssembly target, with the eventual goal of using it as a Language Server in conjunction with <a href="https://microsoft.github.io/monaco-editor/" target="_blank">monaco</a>, the code editor behind Visual Studio Code.</div><div><br></div><div>So far I've successfully built all combinations of LLVM, clang and clangd on macOS and Ubuntu. The build system is very easy to use, but rather complex to understand for someone with limited experience like myself.</div><div><br></div><div>Are there any pointers to help me better understand clangd's Makefile? Walking up the tree of parent files and environment variables hasn't brought any clarity.</div><div><br></div><div>P.S. before I got any further, has anyone else tried this?</div><div><br></div><div>Cheers,</div><div>Jonathan Beri.</div></div>
_______________________________________________<br>
clangd-dev mailing list<br>
<a href="mailto:clangd-dev@lists.llvm.org" target="_blank">clangd-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div>Ilya Biryukov</div></div></div></div></div>