diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-06-23 14:49:51 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-23 21:04:35 -0700 |
commit | c5d21daae195c1868981bacd7c334fd315471f0c (patch) | |
tree | 9208b9f3fd5209b54b361b5750e043ffb0c90343 /meson_options.txt | |
parent | 9552bcc128c599e068d41cc16a9cbabd44cf627b (diff) | |
download | glu-c5d21daae195c1868981bacd7c334fd315471f0c.tar.gz |
Add Meson build system
This should be on par with the autoconf build. Like autoconf it
defauilts to generating both a shared and static library. I have
intentionally not used the pkg-config template, and used Meson's
pkg-config generator instad. This provides dependency and include
tracking that would otherwise have to be done manually.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 0000000..6709b1b --- /dev/null +++ b/meson_options.txt @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: MIT +# Copyright © 2021 Intel Corporation + +option( + 'gl_provider', + type : 'combo', + choices : ['glvnd', 'gl', 'osmesa'], + value : 'glvnd', + description : 'Which OpenGL to link with' +) |