New cmake tarball needed

Alexander Neundorf neundorf at kde.org
Mon Mar 27 21:26:37 CEST 2006


On Monday 27 March 2006 16:27, David Faure wrote:
> On Monday 27 March 2006 16:12, William A. Hoffman wrote:
> > At 09:05 AM 3/27/2006, David Faure wrote:
> > >On Monday 27 March 2006 15:59, William A. Hoffman wrote:
> > >> Perhaps we should wait a bit to collect up a few more issues before
> > >> making a new tar ball.
> > >
> > >Makes sense.
> > >
> > >> We could say in-source builds are currently broken.  In fact, I see
> > >> almost no point in using them at all.  In many of our projects we just
> > >> do not allow them. We put a check in the cmake files that issues an
> > >> error if one is attempted.
> > >
> > >I would like to do the same (at least for now) in kdelibs. How do I do
> > > that?
> >
> > Something like this:
> >
> > project(kdelibs)
> > #########################################################################
> > # Disallow in-source build
> > STRING(COMPARE EQUAL "${kdelibs_SOURCE_DIR}"
> >   "${kdelibs_BINARY_DIR}" INSOURCE)
> > IF(INSOURCE)
> >   MESSAGE(FATAL_ERROR "kdelibs requires an out of source Build. Please
> > create a separate binary directory and run CMake there.") ENDIF(INSOURCE)
>
> Done. Thanks!

Hopefully this doesn't mess up the builds of too many people (which were 
building in-source previously and had the files created there, but now have 
to build out-of-source with the old generated files still around in the 
source dir...)

We should only use features of the latest released cmake I think (which is 
2.3.4 right now), in order to avoid too frequent cmake updates.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list