From 9849cfc12cada96759af779a105f6999d6cc04c8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 4 Oct 2014 22:59:38 +0200 Subject: build-system/cmake: Add #:build-type parameter, default to "RelWithDebInfo". * guix/build-system/cmake.scm (cmake-build): Add #:build-type. Pass it in BUILDER. * guix/build/cmake-build-system.scm (configure): Add #:build-type parameter and honor it. * doc/guix.texi (Build Systems): Document #:configure-flags and #:build-type for CMake. --- guix/build-system/cmake.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'guix/build-system/cmake.scm') diff --git a/guix/build-system/cmake.scm b/guix/build-system/cmake.scm index 0fc7b62c1b..5673ad5aeb 100644 --- a/guix/build-system/cmake.scm +++ b/guix/build-system/cmake.scm @@ -49,6 +49,7 @@ (define* (cmake-build store name source inputs (make-flags ''()) (cmake (default-cmake)) (out-of-source? #t) + (build-type "RelWithDebInfo") (tests? #t) (test-target "test") (parallel-build? #t) (parallel-tests? #f) @@ -83,6 +84,7 @@ (define builder #:configure-flags ,configure-flags #:make-flags ,make-flags #:out-of-source? ,out-of-source? + #:build-type ,build-type #:tests? ,tests? #:test-target ,test-target #:parallel-build? ,parallel-build? -- cgit v1.2.3