blob: a9666828903bae3815bb9d6a60e28be04f0161cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
short-description: Meson modules for common build operations
...
# Modules
In addition to core language features, Meson also provides a module
system aimed at providing helper methods for common build operations.
Using modules is simple, first you import them:
```meson
mymod = import('somemodule')
```
After this you can use the returned object to use the functionality
provided:
```meson
mymod.do_something('text argument')
```
Meson has a selection of modules to make common requirements easy to
use. Modules can be thought of like the standard library of a
programming language. Currently Meson provides the modules listed on
subpages.
|