diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-04-25 07:56:49 +1000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-05-11 00:13:30 +0300 |
commit | 7ed19902be3f866ff599822b56cea5a34ec661d1 (patch) | |
tree | 85f4adc5e085a105ac81f9280ef47d6c85ebaf3f /docs/markdown/Python-3-module.md | |
parent | 1aa68cf6e3b05b63bf858aa005c34aeea362e3f9 (diff) | |
download | meson-7ed19902be3f866ff599822b56cea5a34ec661d1.zip meson-7ed19902be3f866ff599822b56cea5a34ec661d1.tar.gz meson-7ed19902be3f866ff599822b56cea5a34ec661d1.tar.bz2 |
pkgconfig: add suppport for custom variables during generation
Usage:
pkgconfig.generate(
...
description : 'A library with custom variables.',
variables : ['foo=bar', 'datadir=${prefix}/data']
)
The variables 'prefix', 'libdir' and 'includedir' are reserved, meson will
fail with an error message.
Variables can reference each other with the pkgconfig notation, e.g.
variables : ['datadir=${prefix}/data',
'otherdatadir=${datadir}/other']
meson does not check this for correctness or that the referenced variable
exists, we merely keep the same order as specified.
Diffstat (limited to 'docs/markdown/Python-3-module.md')
0 files changed, 0 insertions, 0 deletions