Persistency of the cmake options is not always good

Albert Astals Cid aacid at kde.org
Tue Jul 4 20:32:53 CEST 2006


There's a big problem [IMHO] with the fact that cmake has a cache to remember 
things because:

a) You run cmake and it tells you it could not find qt4
b) You fix your qmake to say really where it is installed
c) You run cmake again and it still tels you it could not find qt4
d) You rm -rf * the build dir and cmake again and it works

You can see that is pretty non optimal for a newcomer, as when reaching c) he 
will think that has not fixed the problem

Another example:

a) You run cmake on okular
b) it tells you the pdf plugin will not be compiled because you miss poppler
c) You install poppler and run cmake again
d) You still get the pdf plugin will not be compiled message

Well i think you see what i mean.

Is there any possibility we get that strange behaviour removed?

Albert


More information about the Kde-buildsystem mailing list