From 06e65e537bd0570aa9de3cc8bad3a1ca006b38b8 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Thu, 6 Jun 2024 12:46:26 -0600 Subject: 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 --- meson.options | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meson.options') 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)', +) -- cgit v1.2.3