<div dir="ltr">I don&#39;t know about Windows, but then you might have a team that shares a common SDL build on a network drive, and then references that using the ExternalProject feature instead of building this external dependency over and over again.<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 12:26 PM, Ansis Māliņš <span dir="ltr">&lt;<a href="mailto:ansis.malins@gmail.com" target="_blank">ansis.malins@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">&quot;SDL installation&quot;? But there is no such thing. At least not on Windows. ... Right?<br></div>
<div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 1:10 PM, Michael Wild <span dir="ltr">&lt;<a href="mailto:themiwi@gmail.com" target="_blank">themiwi@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>In that case, clearly ExternalProject_Add. It is an external dependency, and should be treated as such. If a users have SDL already installed on their system, they&#39;re going to hate you for shipping it AGAIN in your package, possibly even wrecking their original installation of SDL. By providing download information in the ExternalProject_Add call, you can make things even fully automated for your user.<br>





<br></div>Michael<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Mon, Feb 4, 2013 at 9:23 AM, Ansis Māliņš <span dir="ltr">&lt;<a href="mailto:ansis.malins@gmail.com" target="_blank">ansis.malins@gmail.com</a>&gt;</span> wrote:<br>





</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">If I have a dependency (e.g. SDL2) that seems to work with add_subdirectory just fine, should I still use ExternalProject_Add instead? Given both ways work, what should I prefer? What are the tradeoffs?</div>







<br></div><span><font color="#888888">--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></font></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>