On 18. Oct, 2010, at 11:57 , Chaos A.D. wrote:

> Recently I updated to kubuntu 10.10, which ships new cmake 2.8.2 to me. Then
> I noticed that KDevelop (IDE for C++) hangs when opening projects, since it
> heavily dependent on cmake execution.
> Then I inspected the process of configuring project with cmake using
> --trace, and noticed, that multiple calls to STRING(REGEX ...) slows down
> configure time from several seconds to almost 30 secs.
> I fixed this issue by reverting FindZLIB.cmake from 2.8.
> 
> It is possible to replace this heavy
> STRING(REGEX REPLACE ".*#define ZLIB_VERSION
> \"([0-9]+)\\.([0-9]+)\\.([0-9]+)\".*" "\\1.\\2.\\3" ZLIB_VERSION_STRING
> "${ZLIB_H}")
> with something more light-weight in cmake-2.8/Modules/FindZLIB.cmake?

This is already fixed in the git repository and should be in version 2.8.3.

Michael

--
There is always a well-known solution to every human problem -- neat, 
plausible, and wrong.
H. L. Mencken

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to