aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Unity-builds.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-05-03 18:27:29 +0300
committerGitHub <noreply@github.com>2017-05-03 18:27:29 +0300
commit2bb03f19fd9842d8c7966336ee967786f8edfbda (patch)
tree707f00e4b355d30c6d4d0de23e3364bf82b6c35d /docs/markdown/Unity-builds.md
parent33b79dcf2502420c0db806fece1b35c724366f40 (diff)
parent276d342ebaf859dd53e145ead3e98e2cebb360ab (diff)
downloadmeson-2bb03f19fd9842d8c7966336ee967786f8edfbda.zip
meson-2bb03f19fd9842d8c7966336ee967786f8edfbda.tar.gz
meson-2bb03f19fd9842d8c7966336ee967786f8edfbda.tar.bz2
Merge pull request #1725 from whot/master
documentation fixes
Diffstat (limited to 'docs/markdown/Unity-builds.md')
-rw-r--r--docs/markdown/Unity-builds.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Unity-builds.md b/docs/markdown/Unity-builds.md
index f1f718e..9f939f5 100644
--- a/docs/markdown/Unity-builds.md
+++ b/docs/markdown/Unity-builds.md
@@ -1,3 +1,7 @@
+---
+short-description: Unity builds are a technique for reducing build times
+...
+
# Unity builds
Unity builds are a technique for cutting down build times. The way it works is relatively straightforward. Suppose we have source files `src1.c`, `src2.c` and `src3.c`. Normally we would run the compiler three times, once for each file. In a unity build we instead compile all these sources in a single unit. The simplest approach is to create a new source file that looks like this.