pkgsrc/devel/catch2/Makefile
wiz ceb26a0b86 catch2: update to 2.11.3.
## 2.11.3

### Fixes
* Fixed compilation error caused by lambdas in assertions under MSVC


## 2.11.2

### Improvements
* GCC and Clang now issue warnings for suspicious code in assertions (#1880)
  * E.g. `REQUIRE( int != unsigned int )` will now issue mixed signedness comparison warning
  * This has always worked on MSVC, but it now also works for GCC and current Clang versions
* Colorization of "Test filters" output should be more robust now
* `--wait-for-keypress` now also accepts `never` as an option (#1866)
* Reporters no longer round-off nanoseconds when reporting benchmarking results (#1876)
* Catch2's debug break now supports iOS while using Thumb instruction set (#1862)
* It is now possible to customize benchmark's warm-up time when running the test binary (#1844)
  * `--benchmark-warmup-time {ms}`
* User can now specify how Catch2 should break into debugger (#1846)

### Fixes
* Fixes missing `<random>` include in benchmarking (#1831)
* Fixed missing `<iterator>` include in benchmarking (#1874)
* Hidden test cases are now also tagged with `[!hide]` as per documentation (#1847)
* Detection of whether libc provides `std::nextafter` has been improved (#1854)
* Detection of `wmain` no longer incorrectly looks for `WIN32` macro (#1849)
  * Now it just detects Windows platform
* Composing already-composed matchers no longer modifies the partially-composed matcher expression
  * This bug has been present for the last ~2 years and nobody reported it
2020-03-22 17:55:28 +00:00

25 lines
601 B
Makefile

# $NetBSD: Makefile,v 1.2 2020/03/22 17:55:28 wiz Exp $
DISTNAME= Catch2-2.11.3
PKGNAME= ${DISTNAME:tl}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=catchorg/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= https://github.com/catchorg/Catch2/
COMMENT= C++ header-only test framework for unit tests
LICENSE= boost-license
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++14
USE_CMAKE= yes
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
CMAKE_ARGS+= -DBUILD_TESTING=OFF
pre-configure:
${MKDIR} ${WRKSRC}/build
.include "../../mk/bsd.pkg.mk"