New cmake tarball needed

William A. Hoffman billlist at nycap.rr.com
Mon Mar 27 21:35:52 CEST 2006


At 02:26 PM 3/27/2006, Alexander Neundorf wrote:

>> > 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 could add an extra check, something like:

if(exists ${kdelibs_SOURCE_DIR}/someconfiguredFile)
  message(FATAL_ERROR "Please run svn-clean, it would seem that your source directory has
generated files in it...")


-Bill



More information about the Kde-buildsystem mailing list