[CMake] INL files

Alexander Neundorf a.neundorf-work at gmx.net
Mon Oct 16 02:38:49 EDT 2006


Betreff: Re: [CMake] INL files

...
> It happens when the .inl file has the same name as another source other 
> than the extension.  This is a well-known problem with 2.4.3 and was 
> created by the fix to another bug in 2.4.2.  It will be fixed in the 
> upcoming 2.4.4 release.  You can work around the problem by doing
> 
> SET_SOURCE_FILES_PROPERTIES(myfile.inl PROPERTIES HEADER_FILE_ONLY 1)
> 
> After 2.4.4 is out this work-around will not be necessary.

So HEADER_FILE_ONLY tells cmake that the file is only a header and shouldn not be compiled ?
I didn't know that, thanks :-)

Bye
Alex

-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl


More information about the CMake mailing list