Range library for C++14/17/20. This code was the basis of a formal proposal to add range support to the C++ standard library. That proposal evolved through a Technical Specification, and finally into P0896R4 "The One Ranges Proposal" which was merged into the C++20 working drafts in November 2018. Ranges are an extension of the Standard Template Library that makes its iterators and algorithms more powerful by making them composable. Unlike other range-like solutions which seek to do away with iterators, in range-v3 ranges are an abstration layer on top of iterators.
17 lines
477 B
Makefile
17 lines
477 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2020/03/31 10:43:54 nia Exp $
|
|
|
|
BUILDLINK_TREE+= range-v3
|
|
|
|
.if !defined(RANGE_V3_BUILDLINK3_MK)
|
|
RANGE_V3_BUILDLINK3_MK:=
|
|
|
|
# "The code is known to work on the following compilers: [...] GCC 6.5 (or later)"
|
|
GCC_REQD+= 6
|
|
|
|
BUILDLINK_API_DEPENDS.range-v3+= range-v3>=0.10.0
|
|
BUILDLINK_PKGSRCDIR.range-v3?= ../../devel/range-v3
|
|
# Only installs libraries.
|
|
BUILDLINK_DEPMETHOD.range-v3?= build
|
|
.endif # RANGE_V3_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -range-v3
|