aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorAleksey Filippov <alekseyf@google.com>2018-04-16 22:55:20 +0100
committerAleksey Filippov <alekseyf@google.com>2018-04-16 23:18:26 +0100
commita64d16c6bb048a2f2b35bc91abdfad21a8b65f6b (patch)
treec45c26cc197ca98312243f4c3804914301ecc6f9 /docs/markdown
parent49d7d3f8e5c5d3d9e709df01020025c14564e90a (diff)
downloadmeson-a64d16c6bb048a2f2b35bc91abdfad21a8b65f6b.zip
meson-a64d16c6bb048a2f2b35bc91abdfad21a8b65f6b.tar.gz
meson-a64d16c6bb048a2f2b35bc91abdfad21a8b65f6b.tar.bz2
Add build snippet for non-unique-target-names feature
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/snippets/non-unique-target-names.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/snippets/non-unique-target-names.md b/docs/markdown/snippets/non-unique-target-names.md
new file mode 100644
index 0000000..9b3f917
--- /dev/null
+++ b/docs/markdown/snippets/non-unique-target-names.md
@@ -0,0 +1,9 @@
+## Relaxing of target name requirements
+
+In earlier versions of Meson you could only have one target of a given name for each type.
+For example you could not have two executables named `foo`. This requirement is now
+relaxed so that you can have multiple targets with the same name, as long as they are in
+different subdirectories.
+
+Note that projects that have multiple targets with the same name can not be built with
+the `flat` layout or any backend that writes outputs in the same directory.