New cmake tarball needed
David Faure
faure at kde.org
Mon Mar 27 16:27:06 CEST 2006
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!
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-buildsystem
mailing list