1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

New port: devel/microsoft-gsl

The Guidelines Support Library (GSL) contains functions and types that are
suggested for use by the C++ Core Guidelines maintained by the Standard C++
Foundation. This repo contains Microsoft's implementation of GSL.

The library includes types like span<T>, string_span, owner<> and others.

The entire implementation is provided inline in the headers under the gsl
directory. The implementation generally assumes a platform that implements
C++14 support. There are specific workarounds to support MSVC 2015.

WWW: https://github.com/microsoft/GSL

PR:		244551
Submitted by:	Henry Hu <henry.hu.sh@gmail.com>
This commit is contained in:
Mateusz Piotrowski 2020-03-02 10:08:48 +00:00
parent 7b9f2c7cf1
commit f6e9b6a04c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527623
5 changed files with 45 additions and 0 deletions

View File

@ -1503,6 +1503,7 @@
SUBDIR += mercurialeclipse
SUBDIR += mergify
SUBDIR += meson
SUBDIR += microsoft-gsl
SUBDIR += mill
SUBDIR += mimalloc
SUBDIR += mime

View File

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= microsoft-gsl
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0
CATEGORIES= devel
MAINTAINER= henry.hu.sh@gmail.com
COMMENT= Guidelines Support Library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= microsoft
GH_PROJECT= GSL
CMAKE_OFF= GSL_TEST
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1583121165
SHA256 (microsoft-GSL-v2.1.0_GH0.tar.gz) = ef73814657b073e1be86c8f7353718771bf4149b482b6cb54f99e79b23ff899d
SIZE (microsoft-GSL-v2.1.0_GH0.tar.gz) = 67289

View File

@ -0,0 +1,11 @@
The Guidelines Support Library (GSL) contains functions and types that are
suggested for use by the C++ Core Guidelines maintained by the Standard C++
Foundation. This repo contains Microsoft's implementation of GSL.
The library includes types like span<T>, string_span, owner<> and others.
The entire implementation is provided inline in the headers under the gsl
directory. The implementation generally assumes a platform that implements
C++14 support. There are specific workarounds to support MSVC 2015.
WWW: https://github.com/microsoft/GSL

View File

@ -0,0 +1,9 @@
include/gsl/gsl
include/gsl/gsl_algorithm
include/gsl/gsl_assert
include/gsl/gsl_byte
include/gsl/gsl_util
include/gsl/multi_span
include/gsl/pointers
include/gsl/span
include/gsl/string_span