summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-21 17:43:25 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-21 17:45:09 +0100
commit75b4a961f2bb480e9e4ef5d495dde979e01175c4 (patch)
tree1d97a78a805800cffc402007e267865f957596d0 /eclass
parentcmake.eclass: Fix MYCMAKEARGS support with >=dev-util/cmake-3.23 (diff)
downloadgentoo-75b4a961f2bb480e9e4ef5d495dde979e01175c4.tar.gz
gentoo-75b4a961f2bb480e9e4ef5d495dde979e01175c4.tar.bz2
gentoo-75b4a961f2bb480e9e4ef5d495dde979e01175c4.zip
cmake.eclass: Document MYCMAKEARGS
Closes: https://bugs.gentoo.org/824030 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index f34ebef1b764..c9ff40f42c2e 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -406,6 +406,12 @@ cmake_src_prepare() {
_CMAKE_SRC_PREPARE_HAS_RUN=1
}
+# @VARIABLE: MYCMAKEARGS
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# User-controlled environment variable containing arguments to be passed to
+# cmake in cmake_src_configure.
+
# @FUNCTION: cmake_src_configure
# @DESCRIPTION:
# General function for configuring with cmake. Default behaviour is to start an