<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I have code that builds a CompilerInvocation with the Clang static libraries. I would like to tell that invocation to use specific frameworks, just like using the -framework Clang front-end option. In particular, I'm looking for these "side effects" of using a framework:<br class=""><div class=""><ul class=""><li class="">the compiler locates the framework on the system from its name using the framework search path;</li><li class="">the compiler knows where to find framework headers identified through a path like <Framework/Header.h>.</li></ul></div>At this point, I think that I've looked everywhere in the option sub-objects of the CompilerInvocation class, and the closest thing that I can identify related to that is the header search path. I can't seem to find a way to tell the CompilerInvocation to look for a specific framework.<br class=""><br class="">How is that supposed to happen? I'm using a manually-built CompilerInvocation instead of building it through command-line arguments because that seems to be the only way to pass a memory buffer as a source unit instead of a file.</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">FĂ©lix</div></body></html>