[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging with CMake



On Mon, Oct 6, 2008 at 4:52 PM, Sune Vuorela <nospam@vuorela.dk> wrote:
roduces working debs and keeps the orig.tar.gz clean too.
>>
>> This does seem a little dirty which makes me think i'm not quite doing
>> it right though so if anyone has a better way to do this?, but it does
>> work.
>
> It is neither dirty or a pain, but much easier to work with. Building
> out of source as much as possible is making cleaning up easier. And
> cmake is designed this way.
>

It didn't seem right probably because of being used to the way
autotools work and this is different. What seemed dirty was having to
"mkdir build" and "rm -d" etc within debian/rules. I can see
advantages having the build area completely separate from the source
as it ensures that source will not be touched during build and makes
cleaning a trivial directory delete. Any examples of an invocation of
cmake from debian/rules for build and clean? as i would be quite
interested to see if I am doing it correctly or not.

Thanks

Robin


Reply to: