Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 21 Feb 2022 16:48:33
Message-Id: 1645461909.75b4a961f2bb480e9e4ef5d495dde979e01175c4.asturm@gentoo
1 commit: 75b4a961f2bb480e9e4ef5d495dde979e01175c4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 16:43:25 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 16:45:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b4a961
7
8 cmake.eclass: Document MYCMAKEARGS
9
10 Closes: https://bugs.gentoo.org/824030
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 eclass/cmake.eclass | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
17 index f34ebef1b764..c9ff40f42c2e 100644
18 --- a/eclass/cmake.eclass
19 +++ b/eclass/cmake.eclass
20 @@ -406,6 +406,12 @@ cmake_src_prepare() {
21 _CMAKE_SRC_PREPARE_HAS_RUN=1
22 }
23
24 +# @VARIABLE: MYCMAKEARGS
25 +# @DEFAULT_UNSET
26 +# @DESCRIPTION:
27 +# User-controlled environment variable containing arguments to be passed to
28 +# cmake in cmake_src_configure.
29 +
30 # @FUNCTION: cmake_src_configure
31 # @DESCRIPTION:
32 # General function for configuring with cmake. Default behaviour is to start an