Re: [CMake] Precompiled header support in Visual Studio?

2011-10-25 Thread Robert Dailey
Bumping this in hopes for some help! - Robert Dailey On Fri, Oct 21, 2011 at 3:11 PM, Robert Dailey rcdai...@gmail.com wrote: I did some searching and on stackoverflow I found a post that had code in it to provide precompiled header support:

Re: [CMake] Precompiled header support in Visual Studio?

2011-10-25 Thread John Drescher
On Tue, Oct 25, 2011 at 11:43 AM, Robert Dailey rcdai...@gmail.com wrote: Bumping this in hopes for some help! Your version is different than the stackoverflow example Line SET(Sources ${${SourcesVar}}) should be SET(Sources ${${source}}) since you renamed the SourcesVar parameter. John

Re: [CMake] Precompiled header support in Visual Studio?

2011-10-25 Thread John Drescher
On Tue, Oct 25, 2011 at 12:01 PM, John Drescher dresche...@gmail.com wrote: On Tue, Oct 25, 2011 at 11:43 AM, Robert Dailey rcdai...@gmail.com wrote: Bumping this in hopes for some help! Your version is different than the stackoverflow example Line SET(Sources ${${SourcesVar}}) should

Re: [CMake] Precompiled header support in Visual Studio?

2011-10-25 Thread Robert Dailey
I apologize, the code I had pasted was completely broken. I had meant to fix a couple of those issues before I posted it since I made my own customizations to it. While my real copy had the variables renamed correctly in all places, I made a stupid mistake and included the StdAfx.cpp file in my

[CMake] Precompiled header support in Visual Studio?

2011-10-21 Thread Robert Dailey
I did some searching and on stackoverflow I found a post that had code in it to provide precompiled header support: http://stackoverflow.com/questions/148570/using-pre-compiled-headers-with-cmake Below is the relevant macro I am using from that post. Unfortunately this does not seem to work when