diff options
author | Qyriad <qyriad@qyriad.me> | 2024-06-06 12:46:26 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-06-06 12:46:26 -0600 |
commit | 06e65e537bd0570aa9de3cc8bad3a1ca006b38b8 (patch) | |
tree | f5d8300f7acb71e96e4f1acd95a0166ec9acdf5a /meson.options | |
parent | 8f9bcd20ebc1a4bdf44e8c1b16cac9a905c505d9 (diff) |
build: expose option to enable or disable precompiled std headers
They are enabled by default, and Meson will also prints whether or not
they're enabled at the bottom at the end of configuration.
Change-Id: I48db238510bf9e74340b86f243f4bbe360794281
Diffstat (limited to 'meson.options')
-rw-r--r-- | meson.options | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.options b/meson.options index 6b13fa8a0..fc2050809 100644 --- a/meson.options +++ b/meson.options @@ -64,3 +64,7 @@ option('internal-api-docs', type : 'feature', value : 'auto', option('profile-dir', type : 'string', value : 'etc/profile.d', description : 'the path to install shell profile files', ) + +option('enable-pch-std', type : 'boolean', value : true, + description : 'whether to use precompiled headers for C++\'s standard library (breaks clangd if you\'re using GCC)', +) |