all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Enable debugging by default for CMake?
@ 2014-09-29  8:43 Ludovic Courtès
  2014-10-03 20:02 ` Andreas Enge
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2014-09-29  8:43 UTC (permalink / raw)
  To: Guix-devel

Apparently the default for CMake is to compile without -g, unlike what
Autoconf-generated configure does.  This is changed by passing
‘-DCMAKE_BUILD_TYPE=RelWithDebInfo’ as a cmake flags.

Should we make it the default?

Currently adding a “debug” output to a CMake package creates a .debug
file without any debugging symbols, contrary to what happens with other
packages.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Enable debugging by default for CMake?
  2014-09-29  8:43 Enable debugging by default for CMake? Ludovic Courtès
@ 2014-10-03 20:02 ` Andreas Enge
  2014-10-04 21:30   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2014-10-03 20:02 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

On Mon, Sep 29, 2014 at 10:43:27AM +0200, Ludovic Courtès wrote:
> Apparently the default for CMake is to compile without -g, unlike what
> Autoconf-generated configure does.  This is changed by passing
> ‘-DCMAKE_BUILD_TYPE=RelWithDebInfo’ as a cmake flags.
> Should we make it the default?

I think this sounds like a good idea. Do you want to add it?

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Enable debugging by default for CMake?
  2014-10-03 20:02 ` Andreas Enge
@ 2014-10-04 21:30   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2014-10-04 21:30 UTC (permalink / raw)
  To: Andreas Enge; +Cc: Guix-devel

Andreas Enge <andreas@enge.fr> skribis:

> On Mon, Sep 29, 2014 at 10:43:27AM +0200, Ludovic Courtès wrote:
>> Apparently the default for CMake is to compile without -g, unlike what
>> Autoconf-generated configure does.  This is changed by passing
>> ‘-DCMAKE_BUILD_TYPE=RelWithDebInfo’ as a cmake flags.
>> Should we make it the default?
>
> I think this sounds like a good idea. Do you want to add it?

Yes, done in commit 9849cfc.  (This triggers a rebuild of all the
packages that use ‘cmake-build-system’.)

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-04 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29  8:43 Enable debugging by default for CMake? Ludovic Courtès
2014-10-03 20:02 ` Andreas Enge
2014-10-04 21:30   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.