[webkit-dev] WebCorePrefix.h vs. config.h
fujii.hironori at gmail.com
Sun Dec 9 22:34:56 PST 2018
On Sun, Dec 9, 2018 at 8:22 AM Darin Adler <darin at apple.com> wrote:
> Best would be to eliminate “config.h”: Change “config.h” into an empty
> file first, then remove all “config.h” includes, and then remove the file.
> But to do that, we need to make sure every build system for WebKit supports
> prefix headers. I don’t know how close to that we are. Maybe close? How can
> we quickly find out?
GCC and Clang support '-include <file>' option.
GTK and WPE ports are using it only in WK2 since r163032.
MSVC has /FI option.
/FI (Name Forced Include File) | Microsoft Docs
Unfortunately, it seems that MSVC's precompiled header needs to be included
/Yu (Use Precompiled Header File) | Microsoft Docs
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev