Re: [CMake] Set Source Property For Specific Target

2011-03-17 Thread David Cole
There is a very old, long-standing open bug (in the "backlog" now) that outlines many of the issues related to supporting pre-compiled headers. http://public.kitware.com/Bug/view.php?id=1260 Doing a "copy and rename" strategy for StdAfx.cpp is a reasonable work-around until such time as this ca

Re: [CMake] Set Source Property For Specific Target

2011-03-17 Thread Kawicki, Ryan H
> > Quick question. > > > > I am trying to add precompiled headers to a project that > has been converted to use Cmake. > > > > In our library directory, we include all our source and > build two targets (one static and one dynamic), but setting > multiple source values only affects the source

Re: [CMake] Set Source Property For Specific Target

2011-03-16 Thread Michael Hertling
On 03/16/2011 09:19 PM, Kawicki, Ryan H wrote: > Quick question. > > I am trying to add precompiled headers to a project that has been converted > to use Cmake. > > In our library directory, we include all our source and build two targets > (one static and one dynamic), but setting multiple sou

[CMake] Set Source Property For Specific Target

2011-03-16 Thread Kawicki, Ryan H
Quick question. I am trying to add precompiled headers to a project that has been converted to use Cmake. In our library directory, we include all our source and build two targets (one static and one dynamic), but setting multiple source values only affects the source and not the source associ