aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-10-04 22:59:38 +0200
committerLudovic Courtès <ludo@gnu.org>2014-10-04 22:59:38 +0200
commit9849cfc12cada96759af779a105f6999d6cc04c8 (patch)
tree64c1b60ffebda7015affa3d6119358622d966116 /doc
parent3dcd78109c62b6837c4397ea60087d13e5f8814d (diff)
downloadpatches-9849cfc12cada96759af779a105f6999d6cc04c8.tar
patches-9849cfc12cada96759af779a105f6999d6cc04c8.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 5e8f8e6eb5..c75ca0c2c8 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1621,6 +1621,13 @@ implements the build procedure for packages using the
It automatically adds the @code{cmake} package to the set of inputs.
Which package is used can be specified with the @code{#:cmake}
parameter.
+
+The @code{#:configure-flags} parameter is taken as a list of flags
+passed to the @command{cmake} command. The @code{#:build-type}
+parameter specifies in abstract terms the flags passed to the compiler;
+it defaults to @code{"RelWithDebInfo"} (short for ``release mode with
+debugging information''), which roughly means that code is compiled with
+@code{-O2 -g}, as is the case for Autoconf-based packages by default.
@end defvr
@defvr {Scheme Variable} python-build-system