[CMake] setting the COMPILE_FLAGS property causes VS to start compiling header files

James Bigler jamesbigler at gmail.com
Tue Nov 16 14:42:19 EST 2010


On Tue, Nov 16, 2010 at 12:27 AM, Rolf Eike Beer <eike at sf-mail.de> wrote:

> Am Dienstag, 16. November 2010 schrieb Eric Noulard:
> > 2010/11/15 James Bigler <jamesbigler at gmail.com>
> >
> > > If I set a COMPILE_FLAGS property on a header file via
> > > set_source_files_properties, CMake decides that these header files now
> > > need to be compiled (i.e. not treated as header files).
> > >
> > > Is this the intended behavior?
> > >
> > > I'm using both 2.8.1 and 2.8.3 on Windows with VS 2008 SP 1.
> >
> > This linked with an already filed bug:
> > http://www.vtk.org/Bug/view.php?id=11404
>
> My fix is for the MSVC2010 generator, this is 2008. Could nevertheless be
> the
> same issue.
>
> Eike
>
>
Yeah, reading the thread the bug points to, this is the exact same symptom.
I'll update the bug with my symptoms.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101116/54ffcf0c/attachment.htm>


More information about the CMake mailing list