The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
650 B
22 lines
650 B
--- |
|
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.
|
|
|