<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">You're right. It was partly because I had my build tree as a subdirectory of my source tree. Just used to that from autotools. I also failed to ignore my .git directory, which also contributed to the slowness. With both fixed, the speed and tarball size are fine.</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks</div><br><div class="gmail_quote">On Tue, Sep 18, 2012 at 1:27 AM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2012/9/18 Jack Stalnaker <<a href="mailto:jack.stalnaker@gmail.com">jack.stalnaker@gmail.com</a>>:<br>
<div class="im">> Hi,<br>
><br>
> I'm not sure what I'm doing wrong, but when I run cpack --config CPackSourceConfig.cmake -G TGZ, the operation runs forever and produces archives on the order of dozens of gigabytes. As far as cpack goes, I don't have much specified other than include(cpack) and the version variables.<br>
<br>
</div>May be you could send us your "CPackSourceConfig.cmake" ?<br>
<div class="im"><br>
> I do have include(InstallRequiredSystemLibraries) as well, but that's pretty much it.<br>
<br>
</div>Which version of CPack are you using?<br>
On which platform (Windows? Linux? ...)<br>
<div class="im"><br>
<br>
> I did some investigation, and the problem was pretty easy to spot. Inside the generated _CPack* directory was the installed source directory, which in turn had a nested copy of the same source directory, etc, down many, many levels, so that many gigabytes of disc space were consumed. I'm sorry if this isn't specific enough, but does anyone know what's going on?<br>
<br>
</div>Is your build tree inside the source tree, i.e. the build directory is<br>
a sub-directory<br>
of the build tree?<br>
<br>
Do you set CPACK_SOURCE_IGNORE_FILES to any values<br>
in your CMakeLists.txt?<br>
<br>
<br>
Does the problem with other generator like zip ?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Erk<br>
Le gouvernement représentatif n'est pas la démocratie --<br>
<a href="http://www.le-message.org" target="_blank">http://www.le-message.org</a><br>
</font></span></blockquote></div><br>