dev-cpp/gcem - 1.18.0 (stuff)

Search

Install

Install this version:

emerge -a =dev-cpp/gcem-1.18.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/gcem-1.18.0

Or alternatively:

emerge --autounmask-write -a =dev-cpp/gcem-1.18.0

Package Information

Description:
A C++ compile-time math library using generalized constant expressions
Homepage:
https://github.com/kthohr/gcem
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.18.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="A C++ compile-time math library using generalized constant expressions"
HOMEPAGE="https://github.com/kthohr/gcem"
SRC_URI="https://github.com/kthohr/gcem/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

src_configure() {
	local mycmakeargs=(
		-DGCEM_BUILD_TESTS=$(usex test ON OFF)
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-cpp/gcem | euse -E <flag> -p dev-cpp/gcem | euse -D <flag> -p dev-cpp/gcem

Global/Standard Flags

Inherited Eclasses

Manifest for 1.18.0

Type File Size Source URLs
DIST gcem-1.18.0.gh.tar.gz 57834 bytes https://github.com/kthohr/gcem/archive/refs/tags/v1.18.0.tar.gz