Yes, that looks like it should work. I'll pull your branch and give it a try sometime in the coming week.<div><br></div><div>Thanks,</div><div>David<br><br>On Friday, December 4, 2015, Daniel Pfeifer <<a href="mailto:daniel@pfeifer-mail.de">daniel@pfeifer-mail.de</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Dec 4, 2015 at 11:32 PM, David Cole <<a href="javascript:;" onclick="_e(event, 'cvml', 'DLRdave@aol.com')">DLRdave@aol.com</a>> wrote:<br>
> Makes sense.<br>
><br>
> Can I inject my own "#include <notNormallyIncludedSystemHeader>" into<br>
> the generated stream, or otherwise inject something into it?<br>
<br>
You should be able to do:<br>
<br>
target_include_directories(your_target<br>
  PUBLIC public<br>
  PRIVATE private<br>
  )<br>
target_precompile_headers(your_target<br>
  PUBLIC<br>
    public_header1.h<br>
    public_header2.h<br>
  PRIVATE<br>
    private_header1.h<br>
    private_header2.h<br>
  )<br>
<br>
Does that answer your question? Do you think this could solve your use-case?<br>
<br>
> Specifically, for me, I want to include some, but not ALL VTK headers<br>
> for a VTK-based project.<br>
<br>
I don't see a problem for that.<br>
<br>
> Thanks for working on this.<br>
<br>
You are welcome. :-)<br>
<br>
> Let me know if you want me to be a Visual Studio tester for you.<br>
<br>
Yes, please. My main working environment is Linux. I appreciate any<br>
feedback from different platforms.<br>
</blockquote></div>