diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-07-02 19:22:17 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-07-02 19:22:50 +0300 |
commit | 304841d1c7fb2e6dfbe8134e16acbeaeb338914b (patch) | |
tree | 4b5c738141a0ec443edca71a2c40ca9ef6180e5f | |
parent | 3a59379ec1de6c8043f822cec78e09055ab89185 (diff) | |
download | meson-304841d1c7fb2e6dfbe8134e16acbeaeb338914b.zip meson-304841d1c7fb2e6dfbe8134e16acbeaeb338914b.tar.gz meson-304841d1c7fb2e6dfbe8134e16acbeaeb338914b.tar.bz2 |
Update instructions to disable pch.
-rw-r--r-- | docs/markdown/Precompiled-headers.md | 9 |
1 files changed, 8 insertions, 1 deletions
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 -- |