guix-commits
[Top][All Lists]
Advanced

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

04/09: gnu: cmake: Enable debugging information.


From: guix-commits
Subject: 04/09: gnu: cmake: Enable debugging information.
Date: Sun, 26 Jan 2020 07:46:12 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 28ba01aec6d998ffffc819458db308d691948246
Author: Marius Bakke <address@hidden>
AuthorDate: Sun Jan 26 12:49:45 2020 +0100

    gnu: cmake: Enable debugging information.
    
    * gnu/packages/cmake.scm (cmake)[arguments]: Set #:build-type.
---
 gnu/packages/cmake.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index ecabc8a..93a71e1 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -300,6 +300,10 @@ and workspaces that can be used in the compiler 
environment of your choice.")
         (if (%current-target-system)
             cmake-minimal-cross
             cmake-minimal))
+
+       ;; Enable debugging information for convenience.
+       ((#:build-type _ #f) "RelWithDebInfo")
+
        ((#:configure-flags flags ''())
         `(append (list "-DSPHINX_INFO=ON" "-DSPHINX_MAN=ON" "-DSPHINX_HTML=ON"
                        (string-append "-DCMAKE_DOC_DIR=share/doc/cmake-"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]