On Sun, Apr 6, 2008 at 12:17 PM, Bill Hoffman &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

OK, I was able to reproduce the problem. &nbsp;Seems to be something wrong with find_path. &nbsp;It is taking 1 minute to run cmake on the tree with CVS CMake and 8 seconds with <a href="http://2.4.8." target="_blank">2.4.8.</a> &nbsp; A quick profile showed it was spending all of its time in find_path for boost and sdl.<br>

<br>
The following very short cmakelist file reproduces the problem:<br>
<br>
cmake_minimum_required(VERSION 2.4)<br>
include(FindBoost)<br>
<br>
With 2.4 it takes .21 seconds, and with CVS CMake it takes 30 seconds!<br>
<br>
And, all the time is spent here:<br>
<br>
message(&quot;start find config.hpp&quot;)<br>
FIND_PATH(Boost_INCLUDE_DIR NAMES boost/config.hpp PATH_SUFFIXES ${SUFFIX_FOR_PATH} PATHS<br>
<br>
 &nbsp;# Look in other places.<br>
 &nbsp;${BOOST_DIR_SEARCH}<br>
<br>
 &nbsp;# Help the user find it if we cannot.<br>
 &nbsp;DOC &quot;The ${BOOST_INCLUDE_PATH_DESCRIPTION}&quot;<br>
)<br>
message(&quot;end find config.hpp&quot;)<br>
<br>
<br>
So, there is something wrong with cmFindPathCommand.cxx. &nbsp;I will look at this on Monday or maybe later today. &nbsp;It is just too nice out today to be hacking cmake. &nbsp;:)<br><font color="#888888">
</font></blockquote><div><br>Thanks Bill.&nbsp; Enjoy the rest of the weekend.<br><br></div></div>-- <br>Philip Lowman