Xavier Claessens
276063a1d2
Add missing "disabler" kwarg to python.dependency()
...
There is a unit test using it and now fails because the warning about
unknown kwarg became fatal.
3 years ago
Xavier Claessens
8c5aa031b5
Add install tags
...
Fixes : #7007 .
3 years ago
Jussi Pakkanen
474f4813c4
Capitalize "Meson" consistently as it is a proper name. [skip ci]
4 years ago
Jussi Pakkanen
f72ee8e742
Rewrap long text lines in docs. [skip ci]
4 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Nirbheek Chauhan
40b58be100
modules/python: Do not error out if positional args are passed
...
Also update the documentation.
Fixes https://github.com/mesonbuild/meson/issues/6470
5 years ago
Daniel Mensinger
c4649704c8
python: add embed to the python dependency function
5 years ago
Dylan Baker
15ab1f64f9
modules/python: add a modules keyword argument
...
This mirrors the modules keyword argument that some dependencies (such
as qt and llvm) take. This allows an easier method to determine if
modules are installed.
6 years ago
Dylan Baker
bd6bae0c71
docs: document that the .path() method for Python is new in 0.50 [skip ci]
...
Since this method was not included in 0.46-00.49 we should document that.
6 years ago
Alex Băluț
8f24d34e31
Fix links to reference manual
6 years ago
Luca Weiss
42cdb32033
Update Python-module.md
...
Fix link to the disabler object
6 years ago
Xavier Claessens
61348da069
Add 'disabler' argument to functions returning not-found objects
...
When dependency(), find_library(), find_program(), or
python.find_installation() return a not-found object and disabler is
true, they return a Disabler object instead.
6 years ago
Xavier Claessens
3cf03ec6d6
find_installation: Add support for feature option in required kwarg
...
Closes : #4165 .
6 years ago
Mathieu Duponchelle
709e2bd70d
Python module: update documentation for new API
7 years ago
Mathieu Duponchelle
56fc22075c
[fixup]: write documentation
7 years ago