Attached patches to the bug and on this email. (<meta charset="utf-8"><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; "><a href="http://public.kitware.com/Bug/view.php?id=12284" target="_blank" style="color: rgb(0, 0, 204); ">http://public.kitware.com/Bug/<u></u>view.php?id=12284</a>.)</span><div>
<br></div><div>I did not make it an option yet, as I'm not sure exactly how it should be done.</div><div><br></div><div>However</div><div>0002-kwsys: This is just broken and should be fixed. Setting RecurseThroughSymlinks(false) would not even list the symlinks.</div>
<div><br></div><div>Regarding (0001): I guess this is the one that should be optional? It is funny how directory symlinks are treated differently then normal symlinks. I would consider it simply a bug and fix it.</div><div>
0003: Possibly make it an option?</div><div>Again, I really can't think of a case when you would want the follow through symlink behaviour, but I might just be naive.</div><div><br></div><div><br><br><div class="gmail_quote">
On Thu, Jun 23, 2011 at 5:31 AM, Alan W. Irwin <span dir="ltr"><<a href="mailto:irwin@beluga.phys.uvic.ca">irwin@beluga.phys.uvic.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 2011-06-22 12:04-0400 Bill Hoffman wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 6/21/2011 4:43 PM, Alan W. Irwin wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So it is not a regression, but in my opinion it is still a bug.<br>
<br>
More comments at <a href="http://public.kitware.com/Bug/view.php?id=12284" target="_blank">http://public.kitware.com/Bug/<u></u>view.php?id=12284</a>.<br>
<br>
Please fix.<br>
<br>
</blockquote>
<br>
Patches are welcome, please send one...   It would have to be an option somehow at this point so as not to break existing code.<br>
</blockquote>
<br></div>
I am fine with such an option.  GNU tar (at least) also has an option<br>
to follow symlinks or not.  Of course, the CPack option will have<br>
a different default than the GNU tar one, but that is required for<br>
CPack backwards compatibility.<br>
<br>
I don't understand C++ or the C++ internals of CMake well enough to<br>
put together a patch to solve this issue.  So I am limited to helping<br>
you guys out by doing testing to help clarify CMake bug issues and<br>
commenting on the practical implications of certain CMake bug reports<br>
like this one for the build systems of software projects like PLplot<br>
and FreeEOS to give you a better idea of what is at stake.<div class="im"><br>
<br>
Alan<br>
__________________________<br>
Alan W. Irwin<br>
<br>
Astronomical research affiliation with Department of Physics and Astronomy,<br>
University of Victoria (<a href="http://astrowww.phys.uvic.ca" target="_blank">astrowww.phys.uvic.ca</a>).<br>
<br>
Programming affiliations with the FreeEOS equation-of-state implementation<br>
for stellar interiors (<a href="http://freeeos.sf.net" target="_blank">freeeos.sf.net</a>); PLplot scientific plotting software<br>
package (<a href="http://plplot.org" target="_blank">plplot.org</a>); the libLASi project (<a href="http://unifont.org/lasi" target="_blank">unifont.org/lasi</a>); the Loads of<br>
Linux Links project (<a href="http://loll.sf.net" target="_blank">loll.sf.net</a>); and the Linux Brochure Project<br>
(<a href="http://lbproject.sf.net" target="_blank">lbproject.sf.net</a>).<br>
__________________________<br>
<br>
Linux-powered Science<br>
__________________________<br>
______________________________<u></u>_________________<br></div><div><div></div><div class="h5">
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/<u></u>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/<u></u>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/<u></u>listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>