<div class="gmail_quote">On Mon, Feb 16, 2009 at 6:41 PM, Luigi Calori <span dir="ltr">&lt;<a href="mailto:l.calori@cineca.it">l.calori@cineca.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Alexander Neundorf ha scritto:<br><div class="Ih2E3d"><br></div>
I do not see value in keeping sources (as VTK does) apart from avoid the download-expand step.<br>
If the cmake scripts use glob rex expr to get source files, it should be quite resilient to project change and should be easier to mantain.<br>
I think that having cmake &nbsp;support for download,unpack and patch would really help.</blockquote><div><br>For the first cut I think starting out with keeping the CMakified sources in the project would be fine.&nbsp; Many people are never going to want anything more complicated than this and we know that this will at least work for now.<br>
<br>CMake can already untar with -E mode.&nbsp; Adding download support wouldn&#39;t be too bad.&nbsp; Not sure how you would handle patching though.&nbsp; A nicer solution than above would be storing the original tarball + patch in the CM of your project and then having CMake untar + apply it at configure time.&nbsp; Then you could optionally add download support on top of that for anyone that wants the ability of their project to properly to build to depend on some server out there in the cloud (not me).<br>
</div></div><br>-- <br>Philip Lowman<br>