diff options
Diffstat (limited to 'docs/markdown/snippets/add_compile_backend_arg.md')
-rw-r--r-- | docs/markdown/snippets/add_compile_backend_arg.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/docs/markdown/snippets/add_compile_backend_arg.md b/docs/markdown/snippets/add_compile_backend_arg.md deleted file mode 100644 index 76e2abb..0000000 --- a/docs/markdown/snippets/add_compile_backend_arg.md +++ /dev/null @@ -1,26 +0,0 @@ -## Added ability to specify backend arguments in `meson compile` - -It's now possible to specify backend specific arguments in `meson compile`. - -Usage: `meson compile [--vs-args=args] [--ninja-args=args]` - -``` - --ninja-args NINJA_ARGS Arguments to pass to `ninja` (applied only on `ninja` backend). - --vs-args VS_ARGS Arguments to pass to `msbuild` (applied only on `vs` backend). -``` - -These arguments use the following syntax: - -If you only pass a single string, then it is considered to have all values separated by commas. Thus invoking the following command: - -``` -$ meson compile --ninja-args=-n,-d,explain -``` - -would add `-n`, `-d` and `explain` arguments to ninja invocation. - -If you need to have commas or spaces in your string values, then you need to pass the value with proper shell quoting like this: - -``` -$ meson compile "--ninja-args=['a,b', 'c d']" -``` |