aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <michaelbrockus@gmail.com>2020-04-18 22:13:48 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2020-04-20 19:30:05 +0300
commitb61e037e930d0d3a8569ca764d455f31f135c237 (patch)
tree79c0c70d84a289b26388f2b912921b822e746c5b
parentf798207a9a2ef726ee67cf5ddfd56e723745bbf2 (diff)
downloadmeson-b61e037e930d0d3a8569ca764d455f31f135c237.zip
meson-b61e037e930d0d3a8569ca764d455f31f135c237.tar.gz
meson-b61e037e930d0d3a8569ca764d455f31f135c237.tar.bz2
add introspect --buildsystem-files info [skip ci]
-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