cmake rework (not again, still)

Tomaz Canabrava tcanabrava at kde.org
Mon Nov 23 08:17:51 PST 2015


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

> On 23 November 2015 at 17:16, Tomaz Canabrava <tcanabrava at kde.org> wrote:
> >
> >
> > 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.
> >
>
> so, if the out-of-source build is to allow to build subsurface
> anywhere, would it still be possible to build in "subsurface/build" or
> does it has to be strictly outside of the "subsurface/" folder?
>

subsurface/build is allowed,

subsurface/ and other subdirs besides build aren't allowed.

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


More information about the subsurface mailing list