<div dir="ltr"><div><div><div>Hello ,<br><br></div>I want to use libclang with Swift in OS X application. Please suggest me whether I should use static(.a) or dynamic(.dylib) libclang ? In both the case what are the other dependencies needs to be included ? If I use .dylib version then Can it be distributed as a single executable which is independent and deployed on OS X machine which do not have XCode or clang installed ?<br></div>I have build static libclang with <code><span class="">cmake </span><span class="">-</span><span class="">DLIBCLANG_BUILD_STATIC</span><span class="">=</span><span class="">ON but it generated both for me .a and .dylib . Why size of .dylib is greater than .a file ?<br><br></span></code></div><code><span class="">Please guide .<br></span></code><div><code><span class=""><br></span></code><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><i><font face="monospace, monospace" size="2"><b>Vivek Pandya</b></font></i><div><br></div></div></div></div></div></div>
</div></div></div></div></div>