cmake rework (not again, still)

Tomaz Canabrava tcanabrava at kde.org
Mon Nov 23 07:16:45 PST 2015


On Mon, Nov 23, 2015 at 1:15 PM, Lubomir I. Ivanov <neolit123 at gmail.com>
wrote:

> On 23 November 2015 at 17:07, Tomaz Canabrava <tcanabrava at kde.org> wrote:
> > - out-of-source-build only
>
> most likely a silly question...
> hm, what is the difference between an in-source / out-of-source build?
>
> i have a folder here called "/subsurface"
> i just "mkdir /subsurface/build"
> and start the build from there - so technically the build is inside
> the source folder.
> i'm guessing that's the in-source build.
>

it is, but it is an special case.
if the 'in source' dir is named 'build' it will work as expected,
if it's any other folder, then cmake will complain and ask you to build
somewhere else.
this is to remove the possibility to run cmake on the source files
generating tons of garbage there.


>
> lubomir
> --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151123/1c79c0a0/attachment.html>


More information about the subsurface mailing list