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

commit 28ba01aec6d998ffffc819458db308d691948246
Author: Marius Bakke <[email protected]>
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