[CMake] setting the COMPILE_FLAGS property causes VS to start compiling header files
Rolf Eike Beer
eike at sf-mail.de
Tue Nov 16 02:27:22 EST 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101116/0c9839ed/attachment.pgp>
More information about the CMake
mailing list