From kde-core-devel Mon Feb 14 18:10:21 2005 From: "Peter Rockai \(mornfall\)" Date: Mon, 14 Feb 2005 18:10:21 +0000 To: kde-core-devel Subject: Re: Build system (was Re: Future of KDE Development) Message-Id: <200502141909.15632.mornfall () kalyxo ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110840462125490 On Monday 14 February 2005 17:46, Alexander Neundorf wrote: > On Monday 14 February 2005 17:50, Stephan Kulow wrote: > ... > [snip] > > cmake not only supports out-of-source-builds, it explicitely encourages > them. Just go into any directory, and enter > # cmake ~/src/kde3/kdebase/ > > After this run make and you're done. > > And you can write arbitrary complicated configure tests with cmake. That's true of pretty much any system that has no hardcoded limits... The question is how scalable and easy that is. Looking at CMake source, it is NOT anything i would want to deal with (it looks like a homebrewn macrolanguage, in the vein of IF(X11_X11_INCLUDE_PATH) SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_X11_INCLUDE_PATH}) ENDIF(X11_X11_INCLUDE_PATH)...). Also, CMake has a nasty habit of littering your source with dozens of helper files like CMakeError.log, CMakeCache.txt, cmake.check_cache, CMakeSystem.cmake, CMakeCXXCompiler.cmake et cetera et cetera...). It also uses unix make to do the build. I suggest we forget it now. Out of tree builds are possible without cmake, too. > > Bye > Alex -- Peter Rockai {+421907533216} http://www.kalyxo.org, http://www.kde.org, http://www.debian.org "In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." -- Blair P. Houghton on the subject of C program indentation