cmake rework (not again, still)

Lubomir I. Ivanov neolit123 at gmail.com
Mon Nov 23 08:09:38 PST 2015


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?

lubomir
--


More information about the subsurface mailing list