diff options
author | Dor Askayo <dor.askayo@gmail.com> | 2023-05-26 14:19:23 +0300 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-05-31 14:21:25 +0000 |
commit | a28540a430c238696edfd64626c8fa3ce7b9dbe9 (patch) | |
tree | 4d195043288cb93f47d5cb89bcbaa8702265bcb7 /meson_options.txt | |
parent | 7836260af8fd53ec21e7ec91b79e35aae89147d9 (diff) |
meson: add feature option for use of system Clang headers at runtime
Enabling or disabling the "microsoft-clc" option previously changed
shared logic for all compiler/clc users, which was surprising.
In addition, the option to avoid the use of system Clang headers at
runtime is useful outside the scope of Windows.
Separating the two concepts by making this a neutral feature option
addresses both matters.
Signed-off-by: Dor Askayo <dor.askayo@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23255>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index ac71cf3abeb..455ae4d29bf 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -184,6 +184,13 @@ option( ) option( + 'opencl-external-clang-headers', + type : 'feature', + description : 'Use system Clang headers at runtime for OpenCL kernel ' + + 'compilation.', +) + +option( 'd3d-drivers-path', type : 'string', value : '', |