<div class="gmail_quote">On Sat, Jun 6, 2009 at 11:22 PM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Here is what I do for Vs2005 builds and CMake 2.6.4</div></div>
<br>
I put this in the main CMakeLists.txt before any add_subdirectory(Libraries)<br>
<br><snip><br>
<br>
You need to then create<br>
<br>
laGUIPCH.h<br>
laGUIPCH.cxx<br>
<br>
the .cxx file contains any headers that will be not changed often.<br>
This is the same as stdafx.cpp was and the .h file must be included in<br>
every cpp that is in the ${ProjectName}_SRCS list<br>
<br>
<br>
I hope this makes sense.</blockquote><div><br></div><div>Thanks for your help. Do you (or anyone else) know if there are any plans to make a dedicated function for this so it is cleaner and portable? </div></div>