MYCMAKEARGS allows users to pass arbitrary arguments to cmake, like EXTRA_ECONF for configure scripts. The cmake and cmake-utils eclasses don't document this variable. CMAKE_EXTRA_CACHE_FILE is documented as the analog of EXTRA_ECONF, but MYCMAKEARGS is more analogous and simpler, especially for anyone not already familiar with CMake cache files.
mycmakeargs is local to src_configure(), don't mess with it.
mycmakeargs and MYCMAKEARGS are separate variables. cmake_src_configure adds mycmakeargs, MYCMAKEARGS, and CMAKE_EXTRA_CACHE_FILE to cmakeargs. Bug 557280 comment 1 states MYCMAKEARGS is like EXTRA_ECONF.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b4a961f2bb480e9e4ef5d495dde979e01175c4 commit 75b4a961f2bb480e9e4ef5d495dde979e01175c4 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-02-21 16:43:25 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-02-21 16:45:09 +0000 cmake.eclass: Document MYCMAKEARGS Closes: https://bugs.gentoo.org/824030 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/cmake.eclass | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=05bc71ff824090fb9217ba8e9df69f7234ae027b commit 05bc71ff824090fb9217ba8e9df69f7234ae027b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-02-21 16:43:25 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-02-21 16:54:58 +0000 cmake.eclass: Document MYCMAKEARGS Bug: https://bugs.gentoo.org/824030 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/cmake.eclass | 6 ++++++ 1 file changed, 6 insertions(+)