aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/IDE-integration.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/IDE-integration.md')
-rw-r--r--docs/markdown/IDE-integration.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/markdown/IDE-integration.md b/docs/markdown/IDE-integration.md
index f86a818..a6c6f4b 100644
--- a/docs/markdown/IDE-integration.md
+++ b/docs/markdown/IDE-integration.md
@@ -253,6 +253,21 @@ line arguments, environment variable settings and how to process the output.
}
```
+## Build system files
+
+It is also possible to get Meson build files used in your current project. This
+can be done by running `meson introspect --buildsystem-files /path/to/builddir`.
+
+The output format is as follows:
+
+```json
+[
+ "/Path/to/the/targets/meson.build",
+ "/Path/to/the/targets/meson_options.txt",
+ "/Path/to/the/targets/subdir/meson.build"
+]
+```
+
# Programmatic interface
Meson also provides the `meson introspect` for project introspection via the