diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-09-14 18:52:42 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-09-14 18:53:53 -0400 |
| commit | d924586bee49552363fdcffa75fd8b9d724c8da1 (patch) | |
| tree | 13b3730e0e0d2cf81394daefc06b6fd3273291ab /docs/markdown/Using-multiple-build-directories.md | |
| parent | 83d18d137dc50437a8263983e8883198c7bc41ed (diff) | |
| download | meson-d924586bee49552363fdcffa75fd8b9d724c8da1.tar.gz | |
docs: note the automatic creation of gitignore in build directories
Diffstat (limited to 'docs/markdown/Using-multiple-build-directories.md')
| -rw-r--r-- | docs/markdown/Using-multiple-build-directories.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/markdown/Using-multiple-build-directories.md b/docs/markdown/Using-multiple-build-directories.md index 2e6fa740b..5086ddaf8 100644 --- a/docs/markdown/Using-multiple-build-directories.md +++ b/docs/markdown/Using-multiple-build-directories.md @@ -6,12 +6,14 @@ are placed in a separate subdirectory. This goes against common Unix tradition where you build your projects in-source. Building out of source gives two major advantages. -First of all this makes for very simple `.gitignore` files. In +First of all this makes for very simple VCS "ignore" files. In classical build systems you may need to have tens of lines of definitions, most of which contain wildcards. When doing out of source builds all of this busywork goes away. A common ignore file for a Meson project only contains a few lines that are the build directory -and IDE project files. +and IDE project files. (Note that since Meson 0.57.0, build directories +are automatically ignored for git and mercurial by generating an ignore +file inside the build directory.) Secondly this makes it very easy to clean your projects: just delete the build subdirectory and you are done. There is no need to guess |
