diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-05-03 18:27:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 18:27:29 +0300 |
commit | 2bb03f19fd9842d8c7966336ee967786f8edfbda (patch) | |
tree | 707f00e4b355d30c6d4d0de23e3364bf82b6c35d /docs/markdown/Unity-builds.md | |
parent | 33b79dcf2502420c0db806fece1b35c724366f40 (diff) | |
parent | 276d342ebaf859dd53e145ead3e98e2cebb360ab (diff) | |
download | meson-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.md | 4 |
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. |