From c9d97a58c511583f525b3a38d0296f2986d04b0c Mon Sep 17 00:00:00 2001 From: Jan Niklas Hasse Date: Mon, 4 Sep 2017 14:33:43 +0200 Subject: [PATCH] --unity flag needs {on,off,subprojects} parameter --- docs/markdown/Unity-builds.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/markdown/Unity-builds.md b/docs/markdown/Unity-builds.md index 9f939f5bd..533a42199 100644 --- a/docs/markdown/Unity-builds.md +++ b/docs/markdown/Unity-builds.md @@ -16,4 +16,4 @@ This is then compiled rather than the individual files. The exact speedup depend The downside is that incremental builds are as slow as full rebuilds (because that is what they are). Unity compiles also use more memory, which may become an issue in certain scenarios. There may also be some bugs in the source that need to be fixed before Unity compiles work. As an example, if both `src1.c` and `src2.c` contain a static function or variable of the same name, there will be a clash. -Meson has built-in support for unity builds. To enable them, just pass the `--unity` command line argument or enable unity builds with the GUI. No code changes are necessary apart from the potential clash issue discussed above. Meson will automatically generate all the necessary inclusion files for you. +Meson has built-in support for unity builds. To enable them, just pass `--unity on` on the command line or enable unity builds with the GUI. No code changes are necessary apart from the potential clash issue discussed above. Meson will automatically generate all the necessary inclusion files for you.