1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 01:50:46 +02:00
guix/doc
Greg Hogan cdf1a6700e
build-system/cmake: Use CMake.
* guix/build/cmake-build-system.scm (configure): Add and use generator
field to configure the build system. Create and use CMake variable cache
file. Set the CMake variable BUILD_TESTING to the value of TESTS? so
that a package can optionally build tests. Set CMAKE_COLOR_DIAGNOSTICS
to ON. Set max load for parallel builds.
(build, install): New function.
(check): Replace call to gnu-build's non-parallelizable check with
function using cmake's ctest.
(%standard-phase): Add new build and install functions as phases.

* guix/build-system/cmake.scm (cmake-build, cmake-cross-build),
* guix/build-system/qt.scm (qt-build, qt-cross-build): Add generator
and test-exclude fields and remove unused test-target field.
* doc/guix.texi: Document new parameters.

* guix/build-system/cmake.scm (cmake-build),
* guix/build-system/qt.scm (qt-build): Add ninja to build-inputs.

Change-Id: Ifa8174c91f0fdc030ac5813e98f7c21cba1a7725
2025-07-09 16:24:47 +00:00
..
images doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images. 2024-04-14 10:29:07 +02:00
build.scm doc: Fix URL of ‘language-picker.svg’. 2025-07-09 14:26:09 +02:00
contributing.texi doc: More typographical tweaks for “Bulk Updates” section. 2025-07-01 23:21:32 +02:00
environment-gdb.scm doc: Update GDB "guix shell" example to use autoconf-2.69 2023-07-18 00:41:15 +02:00
fdl-1.3.texi
guix-cookbook.texi doc: cookbook: Fix grammar. 2025-06-02 12:03:46 +08:00
guix.texi build-system/cmake: Use CMake. 2025-07-09 16:24:47 +00:00
he-config-bare-bones.scm home: Define ‘%base-home-services’. 2025-01-16 22:32:11 +01:00
htmlxref.cnf nls: Update translations. 2025-05-03 00:21:43 +02:00
local.mk doc: Depend on os-config-*.texi files. 2025-05-30 20:09:48 +02:00
package-hello.json import: Do not return package name with json importer. 2024-02-23 19:02:55 +01:00
package-hello.scm