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.
11 lines
217 B
Meson
11 lines
217 B
Meson
# 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'
|
|
)
|