From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Enable debugging by default for CMake? Date: Sat, 04 Oct 2014 23:30:24 +0200 Message-ID: <874mvjh6a7.fsf@gnu.org> References: <87wq8mzuj4.fsf@gnu.org> <20141003200254.GA11007@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaWuK-0004oh-Sn for guix-devel@gnu.org; Sat, 04 Oct 2014 17:30:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaWuD-0006Kf-Su for guix-devel@gnu.org; Sat, 04 Oct 2014 17:30:28 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:47676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaWuD-0006KY-Ln for guix-devel@gnu.org; Sat, 04 Oct 2014 17:30:21 -0400 In-Reply-To: <20141003200254.GA11007@debian> (Andreas Enge's message of "Fri, 3 Oct 2014 22:02:54 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: Guix-devel Andreas Enge skribis: > On Mon, Sep 29, 2014 at 10:43:27AM +0200, Ludovic Court=C3=A8s wrote: >> Apparently the default for CMake is to compile without -g, unlike what >> Autoconf-generated configure does. This is changed by passing >> =E2=80=98-DCMAKE_BUILD_TYPE=3DRelWithDebInfo=E2=80=99 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 =E2=80=98cmake-build-system=E2=80=99.) Ludo=E2=80=99.