Initial support for kde_projects.xml in kdesrc-build

Michael Jansen kde at michael-jansen.biz
Fri Feb 4 19:23:53 GMT 2011


On Wednesday 02 February 2011 18:26:35 Alexander Neundorf wrote:
> On Wednesday 02 February 2011, Michael Pyne wrote:
> ...
> 
> > e.g. worrying about environment variables like PKG_CONFIG_PATH is no
> > idle
> > claim (kdesrc-build sets that as well), along with PATH in order to pick
> > up the right Qt version.
> 
> Please try to use only CMAKE_PREFIX_PATH instead of setting PATH. I
> recommend this to everybody.
> I'd also suggest not to set PKG_CONFIG_PATH, at least not to directories
> where KDE stuff is installed, this has to be found also without pkgconfig.

If someone really wants to debug and build cmake scripts he should not use any 
build script and listen to your recommendation. Because you are concerned with 
getting the cmake build system right. mpyne and i are mainly concerned about 
getting potential new developers up to speed with as few obstacles as 
possible. The dream is up and running a kde from trunk in half a day to one 
day (because of the compile times mainly).

That's why i guess both kdesrc-build and build-tool both will set both of 
those variables forever. I don't want to lose even one potential dev because 
(s)he is unable to build kde. Ever. If that means we do not discover all cmake 
glitches ... whatever ... i don't care.

The way build-tool is setup exposed enough cmake problems (which i fixed when 
seen) so i am not willing to experiment there with my public recipe.

Mike





More information about the kde-core-devel mailing list