On Dec 9, 2018, at 10:34 PM, Fujii Hironori <fujii.hironori@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-...
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-head...
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