aboutsummaryrefslogtreecommitdiffstats
path: root/meson/docs/markdown/Modules.md
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/docs/markdown/Modules.md
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/docs/markdown/Modules.md')
-rw-r--r--meson/docs/markdown/Modules.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/meson/docs/markdown/Modules.md b/meson/docs/markdown/Modules.md
new file mode 100644
index 000000000..a96668289
--- /dev/null
+++ b/meson/docs/markdown/Modules.md
@@ -0,0 +1,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.