diff options
author | Nicolas Schneider <nioncode+git@gmail.com> | 2019-01-27 16:52:21 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-03-01 21:50:31 +0200 |
commit | ded0defc3fa12d11d722dba78f9dba66256a3b16 (patch) | |
tree | fede9ee481c79a3b70cbf923fa99b4491e50224b /docs | |
parent | fcd608c13128dd97021356c005a1be2936862dad (diff) | |
download | meson-ded0defc3fa12d11d722dba78f9dba66256a3b16.zip meson-ded0defc3fa12d11d722dba78f9dba66256a3b16.tar.gz meson-ded0defc3fa12d11d722dba78f9dba66256a3b16.tar.bz2 |
auto generate msvc pch source file if none is provided by the user
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Precompiled-headers.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/markdown/Precompiled-headers.md b/docs/markdown/Precompiled-headers.md index 3f7d4b4..8dfb438 100644 --- a/docs/markdown/Precompiled-headers.md +++ b/docs/markdown/Precompiled-headers.md @@ -75,8 +75,11 @@ executable('multilang', sources : srclist, Using precompiled headers with MSVC -- +Since Meson version 0.50.0, precompiled headers with MSVC work just like +with GCC. Meson will automatically create the matching pch implementation +file for you. -MSVC is a bit trickier, because in addition to the header file, it +Before version 0.50.0, in addition to the header file, Meson also requires a corresponding source file. If your header is called `foo_pch.h`, the corresponding source file is usually called `foo_pch.cpp` and it resides in the same `pch` subdirectory as the |