From 304841d1c7fb2e6dfbe8134e16acbeaeb338914b Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 2 Jul 2017 19:22:17 +0300 Subject: Update instructions to disable pch. --- docs/markdown/Precompiled-headers.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/markdown/Precompiled-headers.md b/docs/markdown/Precompiled-headers.md index 8498612..feac7f0 100644 --- a/docs/markdown/Precompiled-headers.md +++ b/docs/markdown/Precompiled-headers.md @@ -21,7 +21,14 @@ In Meson, precompiled header files are always per-target. That is, the given pre Toggling the usage of precompiled headers -- -If you wish to compile your project without precompiled headers, you can configure it by running Meson with the `--disable-pch` flag. You can also toggle the use of pch in a configured build directory with the GUI tool. You don't have to do any changes to the source code. Typically this is done to test whether your project compiles cleanly without pch (that is, checking that its #includes are in order) and working around compiler bugs. +If you wish to compile your project without precompiled headers, you +can change the value of the pch option by passing `-Db_pch=false` +argument to Meson at configure time or later with `mesonconf`. You can +also toggle the use of pch in a configured build directory with the +GUI tool. You don't have to do any changes to the source +code. Typically this is done to test whether your project compiles +cleanly without pch (that is, checking that its #includes are in +order) and working around compiler bugs. Using precompiled headers with GCC and derivatives -- -- cgit v1.1