aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Generating-sources.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/Generating-sources.md')
-rw-r--r--docs/markdown/Generating-sources.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Generating-sources.md b/docs/markdown/Generating-sources.md
index 82b043d..630b7e9 100644
--- a/docs/markdown/Generating-sources.md
+++ b/docs/markdown/Generating-sources.md
@@ -1,3 +1,7 @@
+---
+short-description: Generation of source files before compilation
+...
+
# Generating sources
Sometimes source files need to be preprocessed before they are passed to the actual compiler. As an example you might want build an IDL compiler and then run some files through that to generate actual source files. In Meson this is done with [`generator()`](https://github.com/mesonbuild/meson/wiki/Reference-manual#generator) or [`custom_target()`](https://github.com/mesonbuild/meson/wiki/Reference-manual#custom_target).