[CMake] Precompiled Headers

John Drescher drescherjm at gmail.com
Mon Jun 8 11:17:52 EDT 2009


>> I've been reading this newsgroup for a while and I notice that most
>> of the people complain that they miss some feature on Windows, but
>> completely forget that there are other cool OSes out there and CMake
>> stands for Crossplatform Make. This means that a feature must work on all
>> platforms and all supported compilers, not just on Microsoft ones.
>
> On a philosophical level, I really shouldn't be asking for this feature.
> Precompiled headers are mostly evil and considered an anti-pattern. It's
> actually pretty good that CMake makes it difficult to use :)
> So on that note, I think I'll be happy regardless of the outcome :)
>

After installing the macro I presented in my first reply a month ago
this has saved me several hours of compile time total on my main
project. However the recent addition of a velociraptor has reduced
this need since the compile operation is now cpu bound instead of io
bound.

John


More information about the CMake mailing list