From 0bb55f6eaf3c718efe89f9458756a9c4559a344c Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 21 Feb 2021 12:52:57 +0100 Subject: cmake.eclass: Document _cmake_check_build_dir and _cmake_modify-cmakelists Signed-off-by: Andreas Sturmlechner --- eclass/cmake.eclass | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'eclass') diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index e9543c1fd3c..ec3c9bf8d79 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -135,6 +135,9 @@ _cmake_banned_func() { die "${FUNCNAME[1]} is banned. use -D$1=\"\$(usex $2)\" instead" } +# @FUNCTION: _cmake_check_build_dir +# @INTERNAL +# @DESCRIPTION: # Determine using IN or OUT source build _cmake_check_build_dir() { : ${CMAKE_USE_DIR:=${S}} @@ -268,6 +271,9 @@ cmake-utils_use() { _cmake_banned_func "" "$@" ; } # Banned. Use -DNOFOO=$(usex !foo) instead. cmake-utils_useno() { _cmake_banned_func "" "$@" ; } +# @FUNCTION: _cmake_modify-cmakelists +# @INTERNAL +# @DESCRIPTION: # Internal function for modifying hardcoded definitions. # Removes dangerous definitions that override Gentoo settings. _cmake_modify-cmakelists() { -- cgit v1.2.3