[webkit-dev] WebCorePrefix.h vs. config.h
Darin Adler
darin at apple.com
Tue Dec 11 14:07:11 PST 2018
> On Dec 9, 2018, at 10:34 PM, Fujii Hironori <fujii.hironori at gmail.com> wrote:
>
> MSVC has /FI option.
>
> /FI (Name Forced Include File) | Microsoft Docs
> https://docs.microsoft.com/en-us/cpp/build/reference/fi-name-forced-include-file?view=vs-2017
>
> Unfortunately, it seems that MSVC's precompiled header needs to be included explicitly.
>
> /Yu (Use Precompiled Header File) | Microsoft Docs
> https://docs.microsoft.com/en-us/cpp/build/reference/yu-use-precompiled-header-file?view=vs-2017
So this seems like the main potential obstacle. We can force an include of a prefix header, or precompile a header, but not both, with the Microsoft compiler.
If we deal with this, then I think we could get rid of “config.h”; every other platform can handle a prefix header.
Did I understand that right?
— Darin
More information about the webkit-dev
mailing list