From e724fd5438a20836be1b270c1f851502ac97fdd4 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Sat, 2 Mar 2019 17:41:25 +0100 Subject: rewriter: Handle duplicate target --- docs/markdown/Rewriter.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/markdown') diff --git a/docs/markdown/Rewriter.md b/docs/markdown/Rewriter.md index b88b4a8..8d46597 100644 --- a/docs/markdown/Rewriter.md +++ b/docs/markdown/Rewriter.md @@ -63,7 +63,8 @@ exe1 = executable('testExe', src) In this case, `exe1` could also have been used for the target name. This is possible because the rewriter also searches for assignments and unique meson -IDs, which can be acquired with introspection. +IDs, which can be acquired with introspection. If there are multiple targets +with the same name, meson will do nothing and print an error message. For more information see the help output of the rewriter target command. -- cgit v1.1