diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-21 13:30:54 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-21 13:33:01 +0100 |
| commit | 47658a3692438894c64329fcfd33ae25ebe4ad74 (patch) | |
| tree | d890c07d13d359542e3aff44dc1accf4fcb9e8c7 | |
| parent | 7ba20cc083a22aa4d3b0434e9b615efe7140554a (diff) | |
| download | kde-47658a3692438894c64329fcfd33ae25ebe4ad74.tar.gz kde-47658a3692438894c64329fcfd33ae25ebe4ad74.tar.bz2 kde-47658a3692438894c64329fcfd33ae25ebe4ad74.zip | |
cmake.eclass: Merge mycmakeargs description into cmake_src_configure()
Makes it a part of cmake_src_configure() rather than oddly appearing
under FUNCTIONS.
Bug: https://bugs.gentoo.org/771876
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
| -rw-r--r-- | eclass/cmake.eclass | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 5bead99f6f2..8bf9be82716 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -364,25 +364,20 @@ cmake_src_prepare() { _CMAKE_SRC_PREPARE_HAS_RUN=1 } -# @VARIABLE: mycmakeargs -# @DEFAULT_UNSET +# @FUNCTION: cmake_src_configure # @DESCRIPTION: -# Optional cmake defines as a bash array. Should be defined before calling -# cmake_src_configure. +# General function for configuring with cmake. Default behaviour is to start an +# out-of-source build. +# Passes arguments to cmake by reading from an optionally pre-defined local +# mycmakeargs bash array. # @CODE # src_configure() { # local mycmakeargs=( # $(cmake_use_find_package foo LibFoo) # ) -# # cmake_src_configure # } # @CODE - -# @FUNCTION: cmake_src_configure -# @DESCRIPTION: -# General function for configuring with cmake. Default behaviour is to start an -# out-of-source build. cmake_src_configure() { debug-print-function ${FUNCNAME} "$@" |
