Eric - <br><br>Excellent! That looks like it will do the trick.<br><br>Thank you!<br><br>CY<br><br><div class="gmail_quote">On Tue, Sep 13, 2011 at 4:53 PM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="h5"><br>
</div>If I understand it well you want to compute "symmetric difference".<br>
<br>
Assuming BUILD_FILES and SVN_FILES initially contains the whole list of names.<br>
Then could you try:<br>
<br>
set(BUILD_FILES_UNIQUE ${BUILD_FILES})<br>
set(SVN_FILES_UNIQUE ${SVN_FILES})<br>
list(REMOVE_ITEM BUILD_FILES_UNIQUE ${SVN_FILES})<br>
list(REMOVE_ITEM SVN_FILES_UNIQUE ${BUILD_FILES})<br>
<br>
I don't know about the performance of this with huge list but after that<br>
BUILD_FILES_UNIQUE and SVN_FILES_UNIQUE should contains what you want. at least it work on my small (attached) example.<br>
<br></blockquote></div><br>