From 15f4fc5f3b490e886c5599fe3db95495a968f246 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 13 Mar 2017 14:33:15 +0100 Subject: Use uniq for source files and grouped_source_files to not list any source twice --- ACE/bin/MakeProjectCreator/templates/gnu.mpd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ACE/bin/MakeProjectCreator/templates/gnu.mpd b/ACE/bin/MakeProjectCreator/templates/gnu.mpd index bed9ed41422..aee6102cdb5 100644 --- a/ACE/bin/MakeProjectCreator/templates/gnu.mpd +++ b/ACE/bin/MakeProjectCreator/templates/gnu.mpd @@ -65,7 +65,7 @@ DANCE_ROOT ?= $(TAO_ROOT)/DAnCE <%if(grouped_source_files)%> <%foreach(grouped_source_files)%> <%grouped_source_file%> = \ -<%foreach(grouped_source_file->files)%> +<%foreach(uniq(grouped_source_file->files))%> <%grouped_source_file->file%><%fornotlast(" \\")%> <%endfor%> @@ -77,7 +77,7 @@ FILES += \ <%else%> FILES = \ -<%foreach(source_files)%> +<%foreach(uniq(source_files))%> <%source_file%><%fornotlast(" \\")%> <%endfor%> -- cgit v1.2.1