dev-cpp/cmrc - 2.0.1 (guru)

Search

Install

Install this version:

emerge -a =dev-cpp/cmrc-2.0.1

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

autounmask =dev-cpp/cmrc-2.0.1

Or alternatively:

emerge --autounmask-write -a =dev-cpp/cmrc-2.0.1

Package Information

Description:
A Resource Compiler in a Single CMake Script
Homepage:
https://github.com/vector-of-bool/cmrc
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.0.1 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

DESCRIPTION="A Resource Compiler in a Single CMake Script"
HOMEPAGE="https://github.com/vector-of-bool/cmrc"
SRC_URI="https://raw.githubusercontent.com/vector-of-bool/cmrc/${PV}/CMakeRC.cmake -> ${P}.cmake"
S="${WORKDIR}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

src_install() {
	local cmakedir="/usr/share/cmake/CMakeRC"

	insinto "${cmakedir}"
	newins "${DISTDIR}/${P}.cmake" CMakeRC.cmake
	newins - CMakeRCConfig.cmake <<-EOF
		include("\${CMAKE_CURRENT_LIST_DIR}/CMakeRC.cmake")
	EOF
}

Manifest for 2.0.1

Type File Size Source URLs
DIST cmrc-2.0.1.cmake 20482 bytes https://raw.githubusercontent.com/vector-of-bool/cmrc/2.0.1/CMakeRC.cmake