From a64d16c6bb048a2f2b35bc91abdfad21a8b65f6b Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Mon, 16 Apr 2018 22:55:20 +0100 Subject: Add build snippet for non-unique-target-names feature --- docs/markdown/snippets/non-unique-target-names.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/markdown/snippets/non-unique-target-names.md (limited to 'docs/markdown/snippets') 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. -- cgit v1.1