<div dir="ltr">If you run a libTooling tool, you usually can pass command line flags - you can just pass -include there.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 12, 2015 at 7:01 PM xiaohui chen <<a href="mailto:xchen198812@gmail.com">xchen198812@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi Manuel,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am writing a libtooling tool.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">In the command line we can use '-include' to Include file before parsing. My questions is what is the corresponding API</div><div style="font-size:12.8px">to do this?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I tried  Opts.Includes.push_back , but it seems not working...</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Sincerely</div></div><div dir="ltr"><div style="font-size:12.8px">xiaohui</div></div></blockquote></div>