aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Unity-builds.md
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2017-09-04 14:33:43 +0200
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2017-09-04 18:49:56 +0530
commitc9d97a58c511583f525b3a38d0296f2986d04b0c (patch)
treea339361bc79a78acd9bfcecbc31e38a3f8cf3774 /docs/markdown/Unity-builds.md
parent2acf737b4b5cf70dd3fb87573ae75a8654d40fef (diff)
downloadmeson-c9d97a58c511583f525b3a38d0296f2986d04b0c.zip
meson-c9d97a58c511583f525b3a38d0296f2986d04b0c.tar.gz
meson-c9d97a58c511583f525b3a38d0296f2986d04b0c.tar.bz2
--unity flag needs {on,off,subprojects} parameter
Diffstat (limited to 'docs/markdown/Unity-builds.md')
-rw-r--r--docs/markdown/Unity-builds.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Unity-builds.md b/docs/markdown/Unity-builds.md
index 9f939f5..533a421 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.