From b61e037e930d0d3a8569ca764d455f31f135c237 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 18 Apr 2020 22:13:48 -0700 Subject: add introspect --buildsystem-files info [skip ci] --- docs/markdown/IDE-integration.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs') 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 -- cgit v1.1