summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2017-03-13 14:33:15 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2017-03-13 14:33:15 +0100
commit15f4fc5f3b490e886c5599fe3db95495a968f246 (patch)
treed3690f23ef82eab93c8fb69dd834a213d8dc7161
parent1bc46b5eaa1f51aa82bd9bdbdbdb304042e1ee9d (diff)
downloadATCD-15f4fc5f3b490e886c5599fe3db95495a968f246.tar.gz
Use uniq for source files and grouped_source_files to not list any source twice
-rw-r--r--ACE/bin/MakeProjectCreator/templates/gnu.mpd4
1 files 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%>