diff options
Diffstat (limited to 'docs/markdown/snippets/compiler-object-run_command.md')
-rw-r--r-- | docs/markdown/snippets/compiler-object-run_command.md | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/markdown/snippets/compiler-object-run_command.md b/docs/markdown/snippets/compiler-object-run_command.md deleted file mode 100644 index 0308416..0000000 --- a/docs/markdown/snippets/compiler-object-run_command.md +++ /dev/null @@ -1,10 +0,0 @@ -## Compiler object can now be passed to run_command() - -This can be used to run the current compiler with the specified arguments -to obtain additional information from it. -One of the use cases is to get the location of development files for the -GCC plugins: - - cc = meson.get_compiler('c') - result = run_command(cc, '-print-file-name=plugin') - plugin_dev_path = result.stdout().strip() |