diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-17 01:23:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-17 01:23:44 +0300 |
commit | f7a7059250ab9cf71c68ca78812a24a35ee745f6 (patch) | |
tree | c45c26cc197ca98312243f4c3804914301ecc6f9 /docs/markdown | |
parent | c58dd64f8e947f4659bcbc47d75e86e65043e714 (diff) | |
parent | a64d16c6bb048a2f2b35bc91abdfad21a8b65f6b (diff) | |
download | meson-f7a7059250ab9cf71c68ca78812a24a35ee745f6.zip meson-f7a7059250ab9cf71c68ca78812a24a35ee745f6.tar.gz meson-f7a7059250ab9cf71c68ca78812a24a35ee745f6.tar.bz2 |
Merge pull request #3246 from sarum9in/non-unique-target-names
Allow same target names in different subdirectories
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/snippets/non-unique-target-names.md | 9 |
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. |