Preventing building inside the source directory

Elvis Stansvik elvstone at gmail.com
Sun Jan 16 02:18:01 GMT 2011


2011/1/15 Cyrille Berger Skott <cberger at cberger.net>:
> Hi,
>
> I would like to know if there are any objections on preventing building
> calligra in the source directory ? I don't know any usecase for mixing build
> files with source files, and it is rather significant problems (including the
> risk of build files to be commited accidentally). And it is rather common that
> someone will do it by accident, so I would suggest to add the following into
> our CMakeLists.txt:
>
> MACRO_ENSURE_OUT_OF_SOURCE_BUILD("Compiling Calligra inside the source
> directory is not possible. Please refer to the build instruction
> http://community.kde.org/Calligra/Building/Building_Calligra")

+1

Elvis

>
> --
> Cyrille Berger Skott
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>



More information about the calligra-devel mailing list