[prev in list] [next in list] [prev in thread] [next in thread] 

List:       calligra-devel
Subject:    Re: Preventing building inside the source directory
From:       Jaroslaw Staniek <staniek () kde ! org>
Date:       2011-01-15 14:46:51
Message-ID: AANLkTini3Ti63g98f3UD=yeaaHU_1Wf6eOJa9jbHgeiT () mail ! gmail ! com
[Download RAW message or body]

On 15 January 2011 15:43, Cyrille Berger Skott <cberger@cberger.net> wrote:
> 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

- especially that in git it's even easier to add files by accident
(.gitignore not always helps)

-- 
regards / pozdrawiam, Jaroslaw Staniek
 http://www.linkedin.com/in/jstaniek
 Kexi & Calligra (kexi-project.org, identi.ca/kexi, calligra-suite.org)
 KDE Software Development Platform on MS Windows (windows.kde.org)
_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic