Performance problems in CMake support
Aleix
aleixpol at gmail.com
Wed Apr 2 08:22:08 UTC 2008
On Wed, Apr 2, 2008 at 9:45 AM, Andreas Pakulat <apaku at gmx.de> wrote:
> On 02.04.08 01:30:02, Aleix wrote:
> > I've seen that using:
> > QFile::exists(file.toLocalFile())
> > instead of the
> > !entryList("filename.*").isEmpty()
>
> Did you try what happens if some of the additional Filter options are
> given? Like QDir::Files, QDir::NoDotAndDotDot, QDir::Readable,
> QDir::CaseSensitive.
I'll try, but I'm not sure if it will make any difference...
> > makes kdebase last 26s instead of 35s which is a very noticeable
> > change. But, as you might imagine, it is not correct.
>
> Huh? How did you get to that conclusion? Thats exactly how cmake works,
> if libfoo.so is not existing, then the variable is set to -NOTFOUND.
>
> Try to execute this CMakeLists.txt (adjust the qt-copy path first) after
> removing libQtCore.so from qt-copy:
>
> ,----
> | Find_library(FOO_LIB QtCore
> | PATHS /home/andreas/qt-copy/lib
> | NO_DEFAULT_PATH
> | )
> |
> | message("QTCORE: ${FOO_LIB}")
> `----
>
I know that when a library is not found that a -NOTFOUND appears, what I
meant is that, as I told to a. neundorf, this code was to fit the
libname.so.1 case (the .1 was the cause).
Aleix
> Andreas
>
> --
> There is a fly on your nose.
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080402/1fc7eadf/attachment.html>
More information about the KDevelop-devel
mailing list