AW: [CMake] HEADER_FILE_ONLY property not honoured in CMake 2.5 for .cpp files

Gerhard Grimm ggrimm at detec.de
Tue Nov 20 02:54:25 EST 2007


Thanks Brad, works like a charm :-)

-Gerhard

-----Ursprüngliche Nachricht-----
Von: Brad King [mailto:brad.king at kitware.com]
Gesendet: Montag, 19. November 2007 20:30
An: Gerhard Grimm
Cc: cmake at cmake.org
Betreff: Re: [CMake] HEADER_FILE_ONLY property not honoured in CMake 2.5
for .cpp files


Gerhard Grimm wrote:
> Hello there,
> 
> while testing the CVS version of CMake (2.5-20071116), I stumbled across another problem:
> The Visual Studio .NET 2003 generator does not honour the HEADER_FILE_ONLY property
> when set to TRUE for .cpp files - in CMake 2.4.7 those files were excluded from the build
> as requested.

I've fixed this in CMake HEAD and added a test.

-Brad


More information about the CMake mailing list