cmake.eclass: New eclass, EAPI-7 only cleanup of cmake-utils
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 21 Dec 2019 10:50:29 +0000 (11:50 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 29 Dec 2019 13:03:40 +0000 (14:03 +0100)
commit9053737a4e16fb1c9bcdd95373ef4e42d61404f4
tree2f799ff6f8aa015ef968762ce829c5875bf92665
parent7b6bd40db6c1ab8531a8ee40bede229673f42c1f
cmake.eclass: New eclass, EAPI-7 only cleanup of cmake-utils

- Drop all pre-EAPI-7 compatibility
- Drop CMAKE_MIN_VERSION
- Drop CMAKE_REMOVE_MODULES
- Array support for CMAKE_REMOVE_MODULES_LIST
- Drop pushd/popd from src_prepare
- Drop _cmake_generator_to_use()
  CMAKE_MAKEFILE_GENERATOR validity is already checked in global scope.
  Move the check for dev-util/ninja into src_prepare.
- Rename cmake_src_make() -> cmake_build()
- Drop _cmake_ninja_src_build and _cmake_emake_src_build, move into cmake_build

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/cmake.eclass [new file with mode: 0644]