summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-21 12:58:45 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-21 14:17:37 +0100
commit59ea23cf7ee95671c2a4dd3ace20edeac6576af1 (patch)
treea16ea544302e40af097dc214fd7f3499ec346f4e /eclass
parentcmake.eclass: Document _cmake_check_build_dir and _cmake_modify-cmakelists (diff)
downloadgentoo-59ea23cf7ee95671c2a4dd3ace20edeac6576af1.tar.gz
gentoo-59ea23cf7ee95671c2a4dd3ace20edeac6576af1.tar.bz2
gentoo-59ea23cf7ee95671c2a4dd3ace20edeac6576af1.zip
cmake.eclass: Better description of cmake_build() and cmake_src_compile()
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 52bf5960f272..271f237bf0cc 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -562,8 +562,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} "$@"
@@ -573,7 +573,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} "$@"