meson: Make shader-cache a trillean instead of boolean
authorDylan Baker <dylan@pnwbakers.com>
Wed, 18 Apr 2018 20:20:28 +0000 (13:20 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 3 May 2019 17:57:36 +0000 (10:57 -0700)
commitf5eafc2dc6a68c9c2c2660dff528de1ecdedf4dc
tree8613f74cb6bfc3bb670017a4956b0c0194d6797a
parentddc15fba2be29eb667bd89625d468455b63e0bcf
meson: Make shader-cache a trillean instead of boolean

So that it can be implicitly disabled on windows, where it doesn't
compile.

v2: - Use an auto-option rather than automagic.
    - fix shader_cache check (== -> !=)
v4: - Use new with_shader_cache instead of get_option('shader-cache')
      elsewhere in the meson build

Reviewed-by: Eric Anholt <eric@anholt.net>
meson.build
meson_options.txt