On Sun, Apr 6, 2008 at 12:17 PM, Bill Hoffman <<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>> 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. Seems to be something wrong with find_path. 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> 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("start find config.hpp")<br>
FIND_PATH(Boost_INCLUDE_DIR NAMES boost/config.hpp PATH_SUFFIXES ${SUFFIX_FOR_PATH} PATHS<br>
<br>
# Look in other places.<br>
${BOOST_DIR_SEARCH}<br>
<br>
# Help the user find it if we cannot.<br>
DOC "The ${BOOST_INCLUDE_PATH_DESCRIPTION}"<br>
)<br>
message("end find config.hpp")<br>
<br>
<br>
So, there is something wrong with cmFindPathCommand.cxx. I will look at this on Monday or maybe later today. It is just too nice out today to be hacking cmake. :)<br><font color="#888888">
</font></blockquote><div><br>Thanks Bill. Enjoy the rest of the weekend.<br><br></div></div>-- <br>Philip Lowman