<div class="gmail_quote">On Fri, Nov 5, 2010 at 6:29 AM, Adam J Richardson <span dir="ltr">&lt;<a href="mailto:fatman@crackmonkey.us">fatman@crackmonkey.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Could you guys have a chat with the Boost guys and fix the &quot;future<br>
safety&quot; of FindBoost.cmake somehow? Fiddling with ADDITIONAL_VERSIONS<br>
is really a pain on a build farm.<br></blockquote><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">To implement this I think we would need wildcat version searching support for find_library() and friends.  I had a proposal for this a while ago but it didn&#39;t go anywhere nor did I ever implement it.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><a href="http://www.itk.org/Bug/view.php?id=8396">http://www.itk.org/Bug/view.php?id=8396</a></span></div>
<div><p><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">I suggested that support for searching for files or directories that match a particular regex that describes a version number be added.  </span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">In other words, you could try to find:<br>
<br></span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">NAMES foo-([0-9])\.([0-9]) or<br>PATHS bar([0-9]+)</span></p><p><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">The module would be responsible of passing on the request to find the latest version number that matches, or it could specify an absolute version to find.  It would probably have to be an extended form of the find_library(), find_path(), etc. commands.</span></p>
</div></div><br>-- <br>Philip Lowman<br>