From e329c2ca01b6c53bb1823b26ddbfad18bbc31b38 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 21 Feb 2021 12:58:45 +0100 Subject: cmake.eclass: Better description of cmake_build() and cmake_src_compile() Signed-off-by: Andreas Sturmlechner --- eclass/cmake.eclass | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index ec3c9bf8d79..ddb67091762 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -567,8 +567,8 @@ cmake_src_configure() { # @FUNCTION: cmake_src_compile # @DESCRIPTION: -# General function for compiling with cmake. -# Automatically detects the build type. All arguments are passed to emake. +# General function for compiling with cmake. All arguments are passed +# to cmake_build. cmake_src_compile() { debug-print-function ${FUNCNAME} "$@" @@ -578,7 +578,8 @@ cmake_src_compile() { # @FUNCTION: cmake_build # @DESCRIPTION: # Function for building the package. Automatically detects the build type. -# All arguments are passed to emake. +# All arguments are passed to eninja (default) or emake depending on the value +# of CMAKE_MAKEFILE_GENERATOR. cmake_build() { debug-print-function ${FUNCNAME} "$@" -- cgit v1.2.3