diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-21 12:52:57 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-21 13:06:44 +0100 |
commit | 0bb55f6eaf3c718efe89f9458756a9c4559a344c (patch) | |
tree | 9bba2abfc3cfe3451d43525c9c7eec672e961257 /eclass/cmake.eclass | |
parent | cmake.eclass: Fix mycmakeargs documentation (diff) | |
download | kde-0bb55f6eaf3c718efe89f9458756a9c4559a344c.tar.gz kde-0bb55f6eaf3c718efe89f9458756a9c4559a344c.tar.bz2 kde-0bb55f6eaf3c718efe89f9458756a9c4559a344c.zip |
cmake.eclass: Document _cmake_check_build_dir and _cmake_modify-cmakelists
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/cmake.eclass')
-rw-r--r-- | eclass/cmake.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index e9543c1fd3..ec3c9bf8d7 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -135,6 +135,9 @@ _cmake_banned_func() { die "${FUNCNAME[1]} is banned. use -D$1<related_CMake_variable>=\"\$(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() { |