[webkit-dev] precompiled headers

Patrick Roland Gansterer paroga at paroga.com
Mon Feb 7 08:44:11 PST 2011


I'm working on a CMake based Windows port and have some "problems" with
the precompiled headers.
At the moment it's not possible to build the Windows port without them.
Other ports don't require PCH.

[1], [2] and [3] will make it work without PCH, but this patches raised up
a general discussion about the PCH requirement.

[4] says: "The project should be able to build without this header,
although we rarely test that."
What does this mean? "it should be possible to build the existing Mac and
Windows ports without this prefix header", or "it should be possible to
construct a port that builds without this prefix header"

[5] says: "... This guarantees that each header's completeness is tested.
This also assures that each header can be compiled without requiring any
other header files be included first."
Does header completeness include PCH?

Should it be possible to build all ports without using precompiled

- Patrick

[1] http://webkit.org/b/53881
[2] http://webkit.org/b/53883
[3] http://webkit.org/b/53885
[5] http://webkit.org/coding/coding-style.html

More information about the webkit-dev mailing list